mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Issue #3790 - cleanup and possible fix for PHP 7.3
This commit is contained in:
parent
007bc184a3
commit
f8901ace65
@ -239,7 +239,7 @@ class e107_event
|
||||
/**
|
||||
* @Deprecated
|
||||
*/
|
||||
function triggerAdminEvent($type, $parms=array())
|
||||
function triggerAdminEvent($type, $parms=null)
|
||||
{
|
||||
global $pref;
|
||||
if(!is_array($parms))
|
||||
@ -290,9 +290,9 @@ class e107_event
|
||||
* @param string $function identifier for the calling function
|
||||
* @return string $text string of rendered html, or message from db handler
|
||||
*/
|
||||
function triggerHook($data='')
|
||||
function triggerHook($data=array())
|
||||
{
|
||||
$text = '';
|
||||
$text = null;
|
||||
$e_event_list = e107::getPref('e_event_list');
|
||||
|
||||
if(is_array($e_event_list))
|
||||
|
Loading…
x
Reference in New Issue
Block a user