]> git.mxchange.org Git - mailer.git/commitdiff
Old column name fixed
authorRoland Häder <roland@mxchange.org>
Wed, 13 Jul 2011 11:01:18 +0000 (11:01 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 13 Jul 2011 11:01:18 +0000 (11:01 +0000)
inc/libs/refback_functions.php

index fce722d012cb69db1d79d3b76f7905d9ed8eeb8b..d769bd08f0fdfe2d10ca4e88cfbc388d1f26bb64 100644 (file)
@@ -312,7 +312,7 @@ function updateMemberRefbackPercents ($id, $percents) {
        $percents = convertCommaToDot($percents);
 
        // Update entry
-       SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_user_refs` SET `refback`='%s' WHERE `id`=%s AND `userid`=%s LIMIT 1",
+       SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_user_refs` SET `refback_percents`='%s' WHERE `id`=%s AND `userid`=%s LIMIT 1",
                array(
                        $percents,
                        $id,