mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/16183] Generate SQL query from array
PHPBB3-16183
This commit is contained in:
parent
84e0f5a2eb
commit
6df8b7f367
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ function generate_smilies($mode, $forum_id)
|
||||||
];
|
];
|
||||||
extract($phpbb_dispatcher->trigger_event('core.generate_smilies_count_sql_before', compact($vars)));
|
extract($phpbb_dispatcher->trigger_event('core.generate_smilies_count_sql_before', compact($vars)));
|
||||||
|
|
||||||
|
$sql = $db->sql_build_query('SELECT', $sql_ary);
|
||||||
$result = $db->sql_query($sql, 3600);
|
$result = $db->sql_query($sql, 3600);
|
||||||
|
|
||||||
$smiley_count = 0;
|
$smiley_count = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue