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:
parent
83518a3078
commit
8e813f840b
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user