Skip to content

Commit

Permalink
Merge pull request #29494 from eileenmcnaughton/active
Browse files Browse the repository at this point in the history
dev/core#5032 Only show enabled layouts
  • Loading branch information
yashodha authored Feb 26, 2024
2 parents d0a00e3 + f5cbc1c commit 24fa95e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Badge/BAO/Layout.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down

0 comments on commit 24fa95e

Please sign in to comment.