From bb986f06ff6dc18e92acac44c2486069d029fb86 Mon Sep 17 00:00:00 2001 From: Banana Date: Mon, 30 Dec 2019 19:55:45 +0100 Subject: [PATCH] code clean up --- webroot/lib/management.class.php | 2 +- webroot/lib/summoner.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webroot/lib/management.class.php b/webroot/lib/management.class.php index f5e0d26..3067800 100644 --- a/webroot/lib/management.class.php +++ b/webroot/lib/management.class.php @@ -353,7 +353,7 @@ class Management { } } $query = $this->DB->query($querySelect.$queryFrom.$queryWhere.$queryGroup.$queryOrder.$queryLimit); - + if(!empty($query) && $query->num_rows > 0) { while($result = $query->fetch_assoc()) { $linkObj = new Link($this->DB); diff --git a/webroot/lib/summoner.class.php b/webroot/lib/summoner.class.php index c5cd273..61dd0c1 100644 --- a/webroot/lib/summoner.class.php +++ b/webroot/lib/summoner.class.php @@ -564,7 +564,7 @@ class Summoner { * http_build_query with modify array * modify will add: key AND value not empty * modify will remove: only key with no value - * + * * @param $array * @param bool $modify * @return string -- 2.39.5