aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/functions_display.php6
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));