From dbf410fa0a5301f58e2a27d377c06836a29dcdb6 Mon Sep 17 00:00:00 2001 From: LEDfan Date: Sat, 20 Dec 2014 13:48:22 +0100 Subject: [PATCH] Fix wrong parameter order --- lib/utils/properties.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/properties.php b/lib/utils/properties.php index 3cc53972..97d08734 100644 --- a/lib/utils/properties.php +++ b/lib/utils/properties.php @@ -295,7 +295,7 @@ Class Properties { //$cache->remove($key); $haskey = $cache->hasKey($key); - if (!array_key_exists($options, 'remove') && !array_key_exists($options, 'update')){ + if (!array_key_exists('remove', $options) && !array_key_exists('update', $options)){ if ($cache->hasKey($key) && $image === null){ return $cache->get($key); }