Don't die with an SQL syntax error when there are no pages in the wiki.
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 3 Oct 2008 21:16:35 +0000 (21:16 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 3 Oct 2008 21:16:35 +0000 (21:16 +0000)
commit84b161445b87a15d186ec3b0c05dfb5720694477
tree360e0cc5ff3aa53ece5647df06a6ef18e34c42c5
parent7812037fc800b89b646e186b7deb1db039460bc6
Don't die with an SQL syntax error when there are no pages in the wiki.

MySQL returned error "1064: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND 99 AND page_restrictions !='' AND page_restrictions !='edit (10.0.0.101)"
maintenance/updateRestrictions.php