mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Issue #3790 - cleanup and possible fix for PHP 7.3
This commit is contained in:
@@ -239,7 +239,7 @@ class e107_event
|
|||||||
/**
|
/**
|
||||||
* @Deprecated
|
* @Deprecated
|
||||||
*/
|
*/
|
||||||
function triggerAdminEvent($type, $parms=array())
|
function triggerAdminEvent($type, $parms=null)
|
||||||
{
|
{
|
||||||
global $pref;
|
global $pref;
|
||||||
if(!is_array($parms))
|
if(!is_array($parms))
|
||||||
@@ -290,9 +290,9 @@ class e107_event
|
|||||||
* @param string $function identifier for the calling function
|
* @param string $function identifier for the calling function
|
||||||
* @return string $text string of rendered html, or message from db handler
|
* @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');
|
$e_event_list = e107::getPref('e_event_list');
|
||||||
|
|
||||||
if(is_array($e_event_list))
|
if(is_array($e_event_list))
|
||||||
|
Reference in New Issue
Block a user