X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCase%2FXMLRepository.php;h=8e1853bd59ab750c75893ca54476b4e16b7397b6;hb=f3acfdd9c452b9bc6b7d53885a4685acae094cad;hp=19ed92f2d0f55a9abc8e5accded9f1dabc68757d;hpb=c82fb90aaeaa5ce7f8429344502dec09500a2994;p=civicrm-core.git diff --git a/CRM/Case/XMLRepository.php b/CRM/Case/XMLRepository.php index 19ed92f2d0..8e1853bd59 100644 --- a/CRM/Case/XMLRepository.php +++ b/CRM/Case/XMLRepository.php @@ -94,7 +94,7 @@ class CRM_Case_XMLRepository { // throw new CRM_Core_Exception("Cannot load caseType with malformed name [$caseType]"); //} - if (!CRM_Utils_Array::value($caseType, $this->xml)) { + if (empty($this->xml[$caseType])) { $fileXml = $this->retrieveFile($caseType); if ($fileXml) { $this->xml[$caseType] = $fileXml;