projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d80fe8
)
CRM_Core_BAO_CustomGroup::hasReachedMaxLimit - Fix warning
author
Tim Otten
<totten@civicrm.org>
Wed, 22 May 2013 20:24:05 +0000
(16:24 -0400)
committer
Tim Otten
<totten@civicrm.org>
Wed, 22 May 2013 20:24:05 +0000
(16:24 -0400)
CRM/Core/BAO/CustomGroup.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/BAO/CustomGroup.php
b/CRM/Core/BAO/CustomGroup.php
index 11b30806f0898cac8bb9eccd63da194c7944404f..94b90e12b7cef7442547567a56e31fa624a606c4 100644
(file)
--- a/
CRM/Core/BAO/CustomGroup.php
+++ b/
CRM/Core/BAO/CustomGroup.php
@@
-2064,7
+2064,7
@@
SELECT civicrm_custom_group.id as groupID, civicrm_custom_group.title as groupT
return $objTypes;
}
- function hasReachedMaxLimit($customGroupId, $entityId) {
+
static
function hasReachedMaxLimit($customGroupId, $entityId) {
//check whether the group is multiple
$isMultiple = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_CustomGroup', $customGroupId, 'is_multiple');
$isMultiple = ($isMultiple) ? TRUE : FALSE;