1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-18 05:09:05 +01:00

Merge pull request #2035 from lonalore/2034

Issue #2034 - Fixing PHP Fatal error: Can't use function return value…
This commit is contained in:
Cameron 2016-11-17 12:37:38 -08:00 committed by GitHub
commit 6cddc2dde1
2 changed files with 6 additions and 3 deletions

View File

@ -157,7 +157,8 @@ class adminstyle_flexpanel extends adminstyle_infopanel
// --------------------- Personalized Panel -----------------------
if(empty(varset($user_pref['core-infopanel-mye107'], array()))) // Set default icons.
$myE107 = varset($user_pref['core-infopanel-mye107'], array());
if(empty($myE107)) // Set default icons.
{
$defArray = array(
0 => 'e-administrator',

View File

@ -167,7 +167,8 @@ class adminstyle_infopanel
// ---------------------- Start Panel --------------------------------
// $text = "<div >";
if(empty(varset($user_pref['core-infopanel-mye107'], array()))) // Set default icons.
$myE107 = varset($user_pref['core-infopanel-mye107'], array());
if(empty($myE107)) // Set default icons.
{
$defArray = array(
0 => 'e-administrator',
@ -652,7 +653,8 @@ class adminstyle_infopanel
$text = "<div style='padding-left:20px'>";
if(empty(varset($user_pref['core-infopanel-mye107'], array()))) // Set default icons.
$myE107 = varset($user_pref['core-infopanel-mye107'], array());
if(empty($myE107)) // Set default icons.
{
$defArray = array(
0 => 'e-administrator',