Skip to content

Commit

Permalink
5587 converted using php list(), originally left out when queryDB() w…
Browse files Browse the repository at this point in the history
…as added
  • Loading branch information
gregrgay committed Dec 29, 2015
1 parent 173a82d commit b971478
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ function getRelationship($id){
$sql = "SELECT relationship FROM %ssocial_friends WHERE (member_id=%d AND friend_id=%d) OR (member_id=%d AND friend_id=%d)";
$relationship = queryDB($sql, array(TABLE_PREFIX, $id, $_SESSION['member_id'], $_SESSION['member_id'], $id));
}
list($relationship) = $relationship;
// NOT SURE IF THIS IS WORKING WITH QUERYDB
// if (isset($result)){
// list($relationship) = mysql_fetch_row($result);
Expand Down

0 comments on commit b971478

Please sign in to comment.