Skip to content

Commit

Permalink
Issue #4922 - Tweaked event test output.
Browse files Browse the repository at this point in the history
  • Loading branch information
CaMer0n committed Dec 14, 2022
1 parent 83518a3 commit 8e813f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e107_admin/notify.php
Expand Up @@ -235,7 +235,7 @@ function test()
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);
}
Expand Down

0 comments on commit 8e813f8

Please sign in to comment.