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:
41f314b
)
notice fixes
author
kurund
<kurund@civicrm.org>
Tue, 13 Aug 2013 20:44:07 +0000
(
02:14
+0530)
committer
kurund
<kurund@civicrm.org>
Tue, 13 Aug 2013 20:44:07 +0000
(
02:14
+0530)
CRM/Event/BAO/Event.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Event/BAO/Event.php
b/CRM/Event/BAO/Event.php
index f399d2dcea677befac29490cd8413e897879218e..4cd6f5349cebb4bd45d1e1c20c411739646c0e4b 100644
(file)
--- a/
CRM/Event/BAO/Event.php
+++ b/
CRM/Event/BAO/Event.php
@@
-791,7
+791,7
@@
WHERE civicrm_event.is_active = 1
);
if ($enable_cart) {}
while ($dao->fetch()) {
- if (in_array($dao->event_id, $permissions)) {
+ if (
!empty($permissions) &&
in_array($dao->event_id, $permissions)) {
$info = array();
$info['uid'] = "CiviCRM_EventID_{$dao->event_id}_" . md5($config->userFrameworkBaseURL) . $url;