Merge pull request #2391 from colemanw/arrayEmpty
[civicrm-core.git] / CRM / Report / Form / Extended.php
index 70b3949c40b17433148fd621df4702f22276c59a..298c8703c97cb5d28db6797ca7df052775a34ad1 100644 (file)
@@ -105,7 +105,7 @@ class CRM_Report_Form_Extended extends CRM_Report_Form {
   }
 
   function postProcess() {
-    if (!empty($this->_aclTable) && CRM_Utils_Array::value($this->_aclTable, $this->_aliases)) {
+    if (!empty($this->_aclTable) && !empty($this->_aliases[$this->_aclTable])) {
       $this->buildACLClause($this->_aliases[$this->_aclTable]);
     }
     parent::postProcess();