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:
453918c
)
Notice fix in CRM_Participant_BAO_Participant::add
author
Dave Greenberg
<dave@civicrm.org>
Fri, 13 Dec 2013 04:29:18 +0000
(20:29 -0800)
committer
Dave Greenberg
<dave@civicrm.org>
Fri, 13 Dec 2013 04:29:18 +0000
(20:29 -0800)
CRM/Event/BAO/Participant.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Event/BAO/Participant.php
b/CRM/Event/BAO/Participant.php
index 14faa1aee44ad5e7d4005e1024d13b2e61ee0dd8..ce23b0310763767f682b6df73ecdbc08fbef6f9a 100644
(file)
--- a/
CRM/Event/BAO/Participant.php
+++ b/
CRM/Event/BAO/Participant.php
@@
-107,7
+107,7
@@
class CRM_Event_BAO_Participant extends CRM_Event_DAO_Participant {
}
// ensure that role ids are encoded as a string
- if (is_array($params['role_id'])) {
+ if (is
set($params['role_id']) && is
_array($params['role_id'])) {
$params['role_id'] = implode(CRM_Core_DAO::VALUE_SEPARATOR, $params['role_id']);
}