1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/11162] Review comments fixed.

PHPBB3-11162
This commit is contained in:
Oleg Pudeyev
2012-12-05 10:44:36 -05:00
parent 16966f52d3
commit fe87d441ee
2 changed files with 8 additions and 7 deletions

View File

@@ -90,7 +90,8 @@ class phpbb_update_rows_avoiding_duplicates_notify_status_test extends phpbb_dat
// user id of 1 is the user being updated
$sql = 'SELECT notify_status
FROM ' . TOPICS_WATCH_TABLE . '
WHERE topic_id = ' . (int) $to . ' AND user_id = 1';
WHERE topic_id = ' . (int) $to . '
AND user_id = 1';
$result = $db->sql_query($sql);
$notify_status = $db->sql_fetchfield('notify_status');
$db->sql_freeresult($result);