mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fix warning 2nd array_diff parameter is null, not array
This commit is contained in:
parent
8b2f04607e
commit
d41bbf4a4b
@ -139,7 +139,10 @@ class admin_config
|
||||
$_POST = array('newsettings' => &$_content['newsettings']);
|
||||
|
||||
// Remove actual files (cleanup) of deselected urls from login_background_file
|
||||
$this->remove_anon_images(array_diff((array)$c->config_data['login_background_file'], $_content['newsettings']['login_background_file']));
|
||||
if (!empty($c->config_data['login_background_file']))
|
||||
{
|
||||
$this->remove_anon_images(array_diff((array)$c->config_data['login_background_file'], (array)$_content['newsettings']['login_background_file']));
|
||||
}
|
||||
|
||||
/* Load hook file with functions to validate each config (one/none/all) */
|
||||
$errors = Api\Hooks::single(array(
|
||||
|
Loading…
Reference in New Issue
Block a user