r38590 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38589‎ | r38590 | r38591 >
Date:19:35, 4 August 2008
Author:ashley
Status:old
Tags:
Comment:
E_NOTICE
Modified paths:
  • /trunk/extensions/SocialProfile/UserRelationship/UserRelationshipClass.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SocialProfile/UserRelationship/UserRelationshipClass.php
@@ -255,7 +255,7 @@
256256
257257 public function verifyRelationshipRequest($relationship_request_id){
258258 $dbr = wfGetDB( DB_MASTER );
259 - $s = $dbr->selectRow( 'user_relationship_request', array( 'ur_user_id_to' ), array( 'ur_id' => $relationship_request_id ), $fname );
 259+ $s = $dbr->selectRow( 'user_relationship_request', array( 'ur_user_id_to' ), array( 'ur_id' => $relationship_request_id ), __METHOD__ );
260260 if ( $s !== false ) {
261261 if($this->user_id == $s->ur_user_id_to){
262262 return true;

Status & tagging log