mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 05:07:27 +02:00
Issue #2034 - Fixing PHP Fatal error: Can't use function return value in write context.
This commit is contained in:
@@ -157,7 +157,8 @@ class adminstyle_flexpanel extends adminstyle_infopanel
|
|||||||
|
|
||||||
|
|
||||||
// --------------------- Personalized Panel -----------------------
|
// --------------------- 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(
|
$defArray = array(
|
||||||
0 => 'e-administrator',
|
0 => 'e-administrator',
|
||||||
|
@@ -167,7 +167,8 @@ class adminstyle_infopanel
|
|||||||
// ---------------------- Start Panel --------------------------------
|
// ---------------------- Start Panel --------------------------------
|
||||||
|
|
||||||
// $text = "<div >";
|
// $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(
|
$defArray = array(
|
||||||
0 => 'e-administrator',
|
0 => 'e-administrator',
|
||||||
@@ -652,7 +653,8 @@ class adminstyle_infopanel
|
|||||||
$text = "<div style='padding-left:20px'>";
|
$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(
|
$defArray = array(
|
||||||
0 => 'e-administrator',
|
0 => 'e-administrator',
|
||||||
|
Reference in New Issue
Block a user