typo
authorMark A. Hershberger <mah@users.mediawiki.org>
Sat, 24 Apr 2010 01:14:13 +0000 (01:14 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Sat, 24 Apr 2010 01:14:13 +0000 (01:14 +0000)
includes/Title.php

index 3b9d220..c6b0b6c 100644 (file)
@@ -1440,7 +1440,7 @@ class Title {
                                if( $title_protection['pt_create_perm'] == 'sysop' ) {
                                        $title_protection['pt_create_perm'] = 'protect'; // B/C
                                }
-                               if( $title_protection['pt_create_perm'] == '' || !$user->isAllowed($title_proection['pt_create_perm']) ) {
+                               if( $title_protection['pt_create_perm'] == '' || !$user->isAllowed($title_protection['pt_create_perm']) ) {
                                        $errors[] = array( 'titleprotected', User::whoIs($title_protection['pt_user']), $title_protection['pt_reason'] );
                                }
                        }