OSDN Git Service
(root)
/
nucleus-jp
/
nucleus-jp-ancient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CHANGE: クエリが返り値を戻さない場合にオブジェクトのパラメーター呼び出しに失敗する警告に対応。
[nucleus-jp/nucleus-jp-ancient.git]
/
nucleus
/
libs
/
globalfunctions.php
diff --git
a/nucleus/libs/globalfunctions.php
b/nucleus/libs/globalfunctions.php
index
ed24cd6
..
e351697
100755
(executable)
--- a/
nucleus/libs/globalfunctions.php
+++ b/
nucleus/libs/globalfunctions.php
@@
-876,7
+876,7
@@
function getCatIDFromName($name) {
function quickQuery($q) {
\r
$res = sql_query($q);
\r
$obj = sql_fetch_object($res);
\r
- return
$obj->result
;
\r
+ return
is_object($obj) ? $obj->result : NULL
;
\r
}
\r
\r
function getPluginNameFromPid($pid) {
\r