From 5a42de66325aa431a70e17d26137c22084952818 Mon Sep 17 00:00:00 2001 From: reine Date: Thu, 15 Aug 2013 20:02:59 +0900 Subject: [PATCH] =?utf8?q?CHANGE:=20=E3=82=AF=E3=82=A8=E3=83=AA=E3=81=8C?= =?utf8?q?=E8=BF=94=E3=82=8A=E5=80=A4=E3=82=92=E6=88=BB=E3=81=95=E3=81=AA?= =?utf8?q?=E3=81=84=E5=A0=B4=E5=90=88=E3=81=AB=E3=82=AA=E3=83=96=E3=82=B8?= =?utf8?q?=E3=82=A7=E3=82=AF=E3=83=88=E3=81=AE=E3=83=91=E3=83=A9=E3=83=A1?= =?utf8?q?=E3=83=BC=E3=82=BF=E3=83=BC=E5=91=BC=E3=81=B3=E5=87=BA=E3=81=97?= =?utf8?q?=E3=81=AB=E5=A4=B1=E6=95=97=E3=81=99=E3=82=8B=E8=AD=A6=E5=91=8A?= =?utf8?q?=E3=81=AB=E5=AF=BE=E5=BF=9C=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- nucleus/libs/globalfunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nucleus/libs/globalfunctions.php b/nucleus/libs/globalfunctions.php index ed24cd6..e351697 100755 --- a/nucleus/libs/globalfunctions.php +++ b/nucleus/libs/globalfunctions.php @@ -876,7 +876,7 @@ function getCatIDFromName($name) { function quickQuery($q) { $res = sql_query($q); $obj = sql_fetch_object($res); - return $obj->result; + return is_object($obj) ? $obj->result : NULL; } function getPluginNameFromPid($pid) { -- 2.11.0