SQL fix #3
authorRoland Häder <roland@mxchange.org>
Fri, 30 Oct 2009 12:06:46 +0000 (12:06 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 30 Oct 2009 12:06:46 +0000 (12:06 +0000)
inc/libs/refback_functions.php

index 3d6fd91..820be36 100644 (file)
@@ -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__."(<font color=\"#0000aa\">".__LINE__."</font>):numRows=".SQL_NUMROWS($result)."<br />");