typo fix CRM-12965
authorKurund Jalmi <kurund@civicrm.org>
Tue, 9 Jul 2013 18:47:40 +0000 (00:17 +0530)
committerKurund Jalmi <kurund@civicrm.org>
Tue, 9 Jul 2013 18:47:40 +0000 (00:17 +0530)
CRM/Badge/BAO/Layout.php

index a4370cb8b54e10ce049c8e7195380f3fd4b2505a..da95c880cf75c349c067b787a05dc90e4c2001bc 100644 (file)
@@ -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');