projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1929b1
)
DataObjects/Events.php
author
edward
<edward@roojs.com>
Mon, 20 Nov 2017 04:47:45 +0000
(12:47 +0800)
committer
edward
<edward@roojs.com>
Mon, 20 Nov 2017 04:47:45 +0000
(12:47 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
7c7533b
..
daefda6
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-107,7
+107,7
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
}
*/
- if (!$au->hasPerm("Admin.Admin_Tab", 'S')) {
+ if (!$au->hasPerm("Admin.Admin_Tab", 'S')
&& !$au->hasPerm("BAdmin.Admin_Tab", 'S')
) {
//DB_DataObject::DebugLevel(1);
// they can only view their changes..
$this->whereAdd("($tn.person_id = {$au->id} OR $tn.person_id = 0)");