From: Aaron Schulz Date: Mon, 23 Apr 2007 18:30:36 +0000 (+0000) Subject: *cough* ahem X-Git-Tag: 1.31.0-rc.0~53267 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=90b9980278b8ac7e15d242d78c120645f358e289;p=lhc%2Fweb%2Fwiklou.git *cough* ahem --- diff --git a/maintenance/updateRestrictions.php b/maintenance/updateRestrictions.php index caf0f431b6..f93a3fe783 100644 --- a/maintenance/updateRestrictions.php +++ b/maintenance/updateRestrictions.php @@ -27,7 +27,7 @@ function migrate_page_restrictions( $db ) { $blockEnd = $start + BATCH_SIZE - 1; $encodedExpiry = Block::decodeExpiry(''); while ( $blockEnd <= $end ) { - $cond = "page_id BETWEEN $blockStart AND $blockEnd AND page_rescrictions !=''"; + $cond = "page_id BETWEEN $blockStart AND $blockEnd AND page_restrictions !=''"; $res = $db->select( 'page', array('page_id', 'page_restrictions'), $cond, __FUNCTION__ ); $batch = array(); while ( $row = $db->fetchObject( $res ) ) {