r104332 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104331‎ | r104332 | r104333 >
Date:08:58, 27 November 2011
Author:vasilievvv
Status:ok
Tags:
Comment:
Fix a syntax error caused by using the same variable name for two different things.
Modified paths:
  • /trunk/extensions/AbuseFilter/Views/AbuseFilterViewEdit.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/Views/AbuseFilterViewEdit.php
@@ -400,7 +400,7 @@
401401 $userLink =
402402 $sk->userLink( $row->af_user, $row->af_user_text ) .
403403 $sk->userToolLinks( $row->af_user, $row->af_user_text );
404 - $user = $row->af_user_text;
 404+ $userName = $row->af_user_text;
405405 $fields['abusefilter-edit-lastmod'] =
406406 wfMsgExt(
407407 'abusefilter-edit-lastmod-text',
@@ -409,7 +409,7 @@
410410 $userLink,
411411 $lang->date( $row->af_timestamp, true ),
412412 $lang->time( $row->af_timestamp, true ),
413 - $user
 413+ $userName
414414 )
415415 );
416416 $history_display = wfMsgExt( 'abusefilter-edit-viewhistory', array( 'parseinline' ) );

Status & tagging log