Index: trunk/extensions/SocialProfile/UserRelationship/UserRelationshipClass.php |
— | — | @@ -255,7 +255,7 @@ |
256 | 256 | |
257 | 257 | public function verifyRelationshipRequest($relationship_request_id){ |
258 | 258 | $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__ ); |
260 | 260 | if ( $s !== false ) { |
261 | 261 | if($this->user_id == $s->ur_user_id_to){ |
262 | 262 | return true; |