From: Banana Date: Mon, 30 Dec 2019 18:55:45 +0000 (+0100) Subject: code clean up X-Git-Tag: 2.3_2019-12-30~3 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=bb986f06ff6dc18e92acac44c2486069d029fb86;p=insipid.git code clean up --- 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