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:
commit
6cddc2dde1
@ -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',
|
||||
|
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user