From d35b4c07a5d36b4cc28f720f718c3fff2b8420f3 Mon Sep 17 00:00:00 2001
From: Kurund Jalmi <kurund@civicrm.org>
Date: Wed, 10 Jul 2013 00:17:40 +0530
Subject: [PATCH] typo fix CRM-12965

---
 CRM/Badge/BAO/Layout.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CRM/Badge/BAO/Layout.php b/CRM/Badge/BAO/Layout.php
index a4370cb8b5..da95c880cf 100644
--- a/CRM/Badge/BAO/Layout.php
+++ b/CRM/Badge/BAO/Layout.php
@@ -162,7 +162,7 @@ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel {
    * @access public
    */
   static function buildLayout(&$params) {
-    $layoutParams = array('id', $params['badge_id']);
+    $layoutParams = array('id' => $params['badge_id']);
     CRM_Badge_BAO_Layout::retrieve($layoutParams, $layoutInfo);
 
     $formatProperties = CRM_Core_OptionGroup::getValue('name_badge', $layoutInfo['label_format_name'], 'name');
-- 
GitLab