From 5f2dc5ad7c29069b55f17400e6c1c63bb89f7286 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 30 Oct 2009 12:06:46 +0000 Subject: [PATCH] SQL fix #3 --- inc/libs/refback_functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/libs/refback_functions.php b/inc/libs/refback_functions.php index 3d6fd91226..820be36d6b 100644 --- a/inc/libs/refback_functions.php +++ b/inc/libs/refback_functions.php @@ -152,10 +152,10 @@ function getArrayFromRefbackLevel ($rid, $level) { FROM `{?_MYSQL_PREFIX?}_user_refs` WHERE - `refid=`%s AND `level`=%s + `refid`=%s AND `level`=%s ORDER BY `userid` ASC", - array($rid,$level), __FUNCTION__, __LINE__); + array($rid, $level), __FUNCTION__, __LINE__); // Entries found? //* DEBUG: */ print(__FUNCTION__."(".__LINE__."):numRows=".SQL_NUMROWS($result)."
"); -- 2.39.5