Merge pull request #2387 from pratik-joshi/CRM-13973
[civicrm-core.git] / CRM / Admin / Page / LabelFormats.php
index b3050f82089f6cd68bc51d3156d22e6d7fe20c62..5aab022c314121dbc2dd5f62facc4b944257d6cb 100644 (file)
@@ -132,7 +132,7 @@ class CRM_Admin_Page_LabelFormats extends CRM_Core_Page_Basic {
     // Add action links to each of the Label Formats
     foreach ($labelFormatList as & $format) {
       $action = array_sum(array_keys($this->links()));
-      if (CRM_Utils_Array::value('is_reserved', $format)) {
+      if (!empty($format['is_reserved'])) {
         $action -= CRM_Core_Action::DELETE;
       }