mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/11162] Make count function upper case.
PHPBB3-11162
This commit is contained in:
parent
7d0cc15b92
commit
ac9c4d7d59
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class phpbb_update_rows_avoiding_duplicates_test extends phpbb_database_test_cas
|
||||||
|
|
||||||
phpbb_update_rows_avoiding_duplicates($db, TOPICS_WATCH_TABLE, 'topic_id', $from, $to);
|
phpbb_update_rows_avoiding_duplicates($db, TOPICS_WATCH_TABLE, 'topic_id', $from, $to);
|
||||||
|
|
||||||
$sql = 'SELECT count(*) AS remaining_rows
|
$sql = 'SELECT COUNT(*) AS remaining_rows
|
||||||
FROM ' . TOPICS_WATCH_TABLE . '
|
FROM ' . TOPICS_WATCH_TABLE . '
|
||||||
WHERE topic_id = ' . (int) $to;
|
WHERE topic_id = ' . (int) $to;
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
|
Loading…
Add table
Reference in a new issue