[geeklog-cvs] geeklog: DB_query has never returned -1 on failure ...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Jun 18 03:47:32 EDT 2011
changeset 8318:2ce1960f55c2
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/2ce1960f55c2
user: Dirk Haun <dirk at haun-online.de>
date: Sat Jun 18 09:47:25 2011 +0200
description:
DB_query has never returned -1 on failure ...
diffstat:
system/lib-security.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r b5434cc57f02 -r 2ce1960f55c2 system/lib-security.php
--- a/system/lib-security.php Tue Jun 14 12:18:17 2011 +0200
+++ b/system/lib-security.php Sat Jun 18 09:47:25 2011 +0200
@@ -113,7 +113,7 @@
$result = DB_query("SELECT ug_main_grp_id,grp_name FROM {$_TABLES["group_assignments"]},{$_TABLES["groups"]}"
. " WHERE grp_id = ug_main_grp_id AND ug_uid = $uid",1);
- if ($result == -1) {
+ if ($result === false) {
return $groups;
}
More information about the geeklog-cvs
mailing list