mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
Issue #5079 PHP error.
This commit is contained in:
@@ -1782,9 +1782,12 @@ Inverse 10 <span class="badge badge-inverse">10</span>
|
||||
}
|
||||
|
||||
$data = e107::unserialize($cached);
|
||||
$message = e107::getParser()->lanVars(LAN_NEWVERSION,$data['version']);
|
||||
|
||||
eHelper::addSystemNotification('sc_admin_update', "<a class='text-info' href='".$data['url']."' target='_blank'>$message</a>");
|
||||
if(!empty($data['version']) && !empty($data['url']))
|
||||
{
|
||||
$message = e107::getParser()->lanVars(LAN_NEWVERSION,$data['version']);
|
||||
eHelper::addSystemNotification('sc_admin_update', "<a class='text-info' href='".$data['url']."' target='_blank'>$message</a>");
|
||||
}
|
||||
|
||||
if($data === false || isset($data['status']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user