CRM-14974 Fixed php notice; array_diff does not support multidimensional array diff
[civicrm-core.git] / CRM / Core / BAO / Setting.php
index 6f855ca8d935a4c12ddbd7679279264262ebeaef..e948b5dfc155c4f831af3aaddbf3300b47dfc9e3 100644 (file)
@@ -245,7 +245,7 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
 
     if ($group && !isset($name) && $cacheKey) {
       // check value against the cache, and unset key if values are different
-      $valueDifference = array_diff($overrideGroup, self::$_cache[$cacheKey]);
+      $valueDifference = CRM_Utils_Array::multiArrayDiff($overrideGroup, self::$_cache[$cacheKey]);
       if (!empty($valueDifference)) {
         $cacheKey = '';
       }