Skip to content

Commit

Permalink
Merge pull request #14295 from eileenmcnaughton/dao_2
Browse files Browse the repository at this point in the history
[NFC] Add trailing comma to pseudoconstant array in DAOs
  • Loading branch information
colemanw authored May 23, 2019
2 parents 5dc0161 + 800d924 commit 7f34131
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CRM/ACL/DAO/ACL.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public static function &fields() {
],
'pseudoconstant' => [
'callback' => 'CRM_ACL_BAO_ACL::operation',
]
],
],
'object_table' => [
'name' => 'object_table',
Expand Down
2 changes: 1 addition & 1 deletion xml/templates/dao.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class {$table.className} extends CRM_Core_DAO {ldelim}
),
{/if}
{if $field.pseudoconstant}
'pseudoconstant' => {$field.pseudoconstant|@print_array}
'pseudoconstant' => {$field.pseudoconstant|@print_array},
{/if} {* field.pseudoconstant *} ),
{/foreach} {* table.fields *}
);
Expand Down

0 comments on commit 7f34131

Please sign in to comment.