1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 04:38:27 +01:00

Issue #4922 - Tweaked event test output.

This commit is contained in:
Cameron 2022-12-14 14:26:08 -08:00
parent 83518a3078
commit 8e813f840b

View File

@ -235,7 +235,7 @@ class plugin_notify_admin_ui extends e_admin_ui
if(!empty($_POST['test']))
{
$id = key( $_POST['test']);
$exampleData = array('id'=>'Test for '.$id, 'data'=>'example data' );
$exampleData = array('message'=>'Test for '.$id, 'data'=>'example data' );
e107::getMessage()->addSuccess('Triggering: '.$id);
e107::getEvent()->trigger($id, $exampleData);
}