diff options
author | Matt Friedman <maf675@gmail.com> | 2013-12-13 16:47:38 -0800 |
---|---|---|
committer | Matt Friedman <maf675@gmail.com> | 2013-12-13 16:47:38 -0800 |
commit | a24d2058cd7953084662c140ae4946d773e6411a (patch) | |
tree | e185e7705e60beca94a62a85074ab1ac4863407a /phpBB | |
parent | aa0c463d0f1609531843371977bef5ccb88e0c89 (diff) | |
download | forums-a24d2058cd7953084662c140ae4946d773e6411a.tar forums-a24d2058cd7953084662c140ae4946d773e6411a.tar.gz forums-a24d2058cd7953084662c140ae4946d773e6411a.tar.bz2 forums-a24d2058cd7953084662c140ae4946d773e6411a.tar.xz forums-a24d2058cd7953084662c140ae4946d773e6411a.zip |
[ticket/12060] Add num_predefined_bbcodes to display_custom_bbcodes_modify_sql
event
PHPBB3-12060
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/functions_display.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index d1118b9672..21ac3666e1 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -939,10 +939,12 @@ function display_custom_bbcodes() * Event to modify the SQL query before custom bbcode data is queried * * @event core.display_custom_bbcodes_modify_sql - * @var array sql_ary The SQL array to get the bbcode data + * @var array sql_ary The SQL array to get the bbcode data + * @var int num_predefined_bbcodes The number of predefined core bbcodes + * (multiplied by factor of 2) * @since 3.1.0-a3 */ - $vars = array('sql_ary'); + $vars = array('sql_ary', 'num_predefined_bbcodes'); extract($phpbb_dispatcher->trigger_event('core.display_custom_bbcodes_modify_sql', compact($vars))); $result = $db->sql_query($db->sql_build_query('SELECT', $sql_ary)); |