r28587 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r28586‎ | r28587 | r28588 >
Date:13:24, 17 December 2007
Author:tbleher
Status:old
Tags:
Comment:
=& doesn't work between globals, use a normal assignment.

Thanks to Tim for noticing and explaining!
Modified paths:
  • /trunk/extensions/Cache404/extensions/Cache404.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Cache404/extensions/Cache404.php
@@ -656,8 +656,8 @@
657657
658658 # This is assigned before we get a chance to intercept, so fix it now.
659659
660 - $wgLang =& $wgContLang;
661 - $wgLanguageCode =& $wgContLanguageCode;
 660+ $wgLang = $wgContLang;
 661+ $wgLanguageCode = $wgContLanguageCode;
662662
663663 # Special pages for static output
664664

Status & tagging log