*Typo
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 24 Mar 2007 03:28:57 +0000 (03:28 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 24 Mar 2007 03:28:57 +0000 (03:28 +0000)
includes/EditPage.php

index 94f7499..48cb471 100644 (file)
@@ -994,7 +994,7 @@ class EditPage {
                        } else {
                                # It's either cascading protection or regular protection; work out which
                                list($cascadeSources, $restrictions) = $this->mTitle->getCascadeProtectionSources();
-                               if { !$cascadeSources || count( $cascadeSources ) == 0 ) {
+                               if ( !$cascadeSources || count( $cascadeSources ) == 0 ) {
                                        # Regular protection
                                        $notice = wfMsg( 'protectedpagewarning' );
                                } else {