]> git.mxchange.org Git - mailer.git/commitdiff
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 3d6fd91226f0667be220340f29224e5c1ef6ef60..820be36d6bc3e1813663ab9b1bc2633927b98db2 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 />");