Index: trunk/phase3/includes/Title.php |
— | — | @@ -1440,7 +1440,7 @@ |
1441 | 1441 | if( $title_protection['pt_create_perm'] == 'sysop' ) { |
1442 | 1442 | $title_protection['pt_create_perm'] = 'protect'; // B/C |
1443 | 1443 | } |
1444 | | - if( $title_protection['pt_create_perm'] == '' || !$user->isAllowed($title_proection['pt_create_perm']) ) { |
| 1444 | + if( $title_protection['pt_create_perm'] == '' || !$user->isAllowed($title_protection['pt_create_perm']) ) { |
1445 | 1445 | $errors[] = array( 'titleprotected', User::whoIs($title_protection['pt_user']), $title_protection['pt_reason'] ); |
1446 | 1446 | } |
1447 | 1447 | } |