aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorRichard McGirr <rmcgirr83@gmail.com>2016-06-02 05:18:14 -0400
committerRichard McGirr <rmcgirr83@gmail.com>2016-06-02 05:18:14 -0400
commit08acf2acba01d997239712acd245ff96e2770acb (patch)
tree16a3341578e540114796629ca5edd566fc13248c /phpBB
parent06507f9fa63ddacc3aec611247cfaaaa06ea3231 (diff)
downloadforums-08acf2acba01d997239712acd245ff96e2770acb.tar
forums-08acf2acba01d997239712acd245ff96e2770acb.tar.gz
forums-08acf2acba01d997239712acd245ff96e2770acb.tar.bz2
forums-08acf2acba01d997239712acd245ff96e2770acb.tar.xz
forums-08acf2acba01d997239712acd245ff96e2770acb.zip
[ticket/14630] Rename core event
PHPBB3-14630
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/ucp/ucp_pm_compose.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php
index f9990a7ad0..d365e8b489 100644
--- a/phpBB/includes/ucp/ucp_pm_compose.php
+++ b/phpBB/includes/ucp/ucp_pm_compose.php
@@ -754,7 +754,7 @@ function compose_pm($id, $mode, $action, $user_folders = array())
/**
* Modify private message
*
- * @event core.ucp_pm_compose_modify_submit_before
+ * @event core.ucp_pm_compose_modify_parse_before
* @var bool enable_bbcode Whether or not bbcode is enabled
* @var bool enable_smilies Whether or not smilies are enabled
* @var bool enable_urls Whether or not urls are enabled
@@ -763,7 +763,7 @@ function compose_pm($id, $mode, $action, $user_folders = array())
* @var object message_parser The message parser object
* @var bool submit Whether or not the form has been sumitted
* @var bool preview Whether or not the signature is being previewed
- * @var string error Any error strings
+ * @var array error Any error strings
* @since 3.1.10-RC1
*/
$vars = array(
@@ -777,7 +777,7 @@ function compose_pm($id, $mode, $action, $user_folders = array())
'preview',
'error',
);
- extract($phpbb_dispatcher->trigger_event('core.ucp_pm_compose_modify_submit_before', compact($vars)));
+ extract($phpbb_dispatcher->trigger_event('core.ucp_pm_compose_modify_parse_before', compact($vars)));
if ($submit)
{