mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-31 20:52:17 +01:00
Update properties.php
Added check if array exists, and also if the value is false
This commit is contained in:
parent
971c1e9d6d
commit
bbe1b8ef4d
@ -300,12 +300,12 @@ Class Properties {
|
||||
return $cache->get($key);
|
||||
}
|
||||
} else {
|
||||
if (isset($options['remove']) === false && isset($options['update']) === false){
|
||||
if ( (isset($options['remove']) && $options['remove'] === false)
|
||||
&& (isset($options['update']) && $options['update'] === false) ){
|
||||
return $cache->get($key);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (isset($options['remove']) && $options['remove']) {
|
||||
$cache->remove($key);
|
||||
if(!isset($options['update']) || !$options['update']) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user