r65501 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65500‎ | r65501 | r65502 >
Date:01:14, 24 April 2010
Author:mah
Status:ok
Tags:
Comment:
typo
Modified paths:
  • /trunk/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Title.php
@@ -1440,7 +1440,7 @@
14411441 if( $title_protection['pt_create_perm'] == 'sysop' ) {
14421442 $title_protection['pt_create_perm'] = 'protect'; // B/C
14431443 }
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']) ) {
14451445 $errors[] = array( 'titleprotected', User::whoIs($title_protection['pt_user']), $title_protection['pt_reason'] );
14461446 }
14471447 }

Status & tagging log