1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

Issue #3790 - cleanup and possible fix for PHP 7.3

This commit is contained in:
Cameron 2019-04-30 11:08:37 -07:00
parent 007bc184a3
commit f8901ace65

View File

@ -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))