From f5cbc1cd1a073a9ea31243fa0ab1d4f5452a3e7a Mon Sep 17 00:00:00 2001 From: eileen Date: Sat, 24 Feb 2024 10:50:22 +1300 Subject: [PATCH] dev/core#5032 Only show enabled layouts --- CRM/Badge/BAO/Layout.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Badge/BAO/Layout.php b/CRM/Badge/BAO/Layout.php index b41486847526..6d2bf45452e7 100644 --- a/CRM/Badge/BAO/Layout.php +++ b/CRM/Badge/BAO/Layout.php @@ -100,6 +100,7 @@ public static function del($printLabelId) { */ public static function getList() { $printLabel = new CRM_Core_DAO_PrintLabel(); + $printLabel->is_active = 1; $printLabel->find(); $labels = [];