From: Greg Sabino Mullane Date: Thu, 20 Mar 2008 16:59:24 +0000 (+0000) Subject: $lastSize is also an int or a literal NULL. Bug 13453. X-Git-Tag: 1.31.0-rc.0~48933 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=09c5ce36ef88d03fc62db070c6d4a1b50f074989;p=lhc%2Fweb%2Fwiklou.git $lastSize is also an int or a literal NULL. Bug 13453. --- diff --git a/maintenance/rebuildrecentchanges.inc b/maintenance/rebuildrecentchanges.inc index 5e171b2a26..c9a5e43c93 100644 --- a/maintenance/rebuildrecentchanges.inc +++ b/maintenance/rebuildrecentchanges.inc @@ -103,7 +103,7 @@ function rebuildRecentChangesTablePass2() $size = $size ? $size : 'NULL'; $sql3 = "UPDATE $recentchanges SET rc_last_oldid=$lastOldId,rc_new=$new,rc_type=$new," . - "rc_old_len='$lastSize',rc_new_len=$size " . + "rc_old_len=$lastSize,rc_new_len=$size " . "WHERE rc_cur_id={$lastCurId} AND rc_this_oldid={$obj->rc_this_oldid}"; $dbw->query( $sql3 );