Skip to content

Commit

Permalink
Fix mention approval using fetch_row instead of fetc_assoc - fixes #2547
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuele45 committed Jun 19, 2016
1 parent 7eb6ada commit 5e0f009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/subs/Mentions.subs.php
Expand Up @@ -321,7 +321,7 @@ function toggleMentionsApproval($msgs, $approved)
)
);
$status = $approved ? 0 : 3;
while ($row = $db->fetch_row($request))
while ($row = $db->fetch_assoc($request))
updateMentionMenuCount($status, $row['id_member']);
$db->free_result($request);
}
Expand Down

0 comments on commit 5e0f009

Please sign in to comment.