r68820 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68819‎ | r68820 | r68821 >
Date:08:05, 1 July 2010
Author:raymond
Status:ok
Tags:
Comment:
Fix Warning: Parameter 1 to efAssignAuthor() expected to be a reference, value given in D:\F_Programmierung\xampp\htdocs\wiki2\includes\Hooks.php on line 133
Modified paths:
  • /trunk/extensions/AuthorProtect/AuthorProtect.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AuthorProtect/AuthorProtect.php
@@ -53,7 +53,7 @@
5454 return true;
5555 }
5656
57 -function efAssignAuthor( &$user, &$aRights ) {
 57+function efAssignAuthor( $user, &$aRights ) {
5858 // don't assign author to anons... messes up logging stuff.
5959 // plus it's all user_id based so it is impossible to differentiate one anon from another
6060 if ( userIsAuthor() && $user->isLoggedIn() ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r68822Follow-up r68820: Fix another warning and a fatal errorraymond09:17, 1 July 2010

Status & tagging log