mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2074 make sure a session exists
Which is not the case on install.php and its call to activate_core_plugins
This commit is contained in:
@@ -380,7 +380,7 @@ DELETE FROM '. PLUGINS_TABLE .'
|
||||
{
|
||||
global $user;
|
||||
|
||||
if ('webmaster' == $user['status'])
|
||||
if (isset($user) and 'webmaster' == $user['status'])
|
||||
{
|
||||
$plugin['hasSettings'] = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user