projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f92040
)
DataObjects/Images.php
author
Alan Knowles
<alan@akbkhome.com>
Sun, 26 Feb 2012 14:50:20 +0000
(22:50 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 26 Feb 2012 14:50:20 +0000
(22:50 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
13bce05
..
eb163be
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-468,7
+468,7
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
// this should be doign update
$this->setFrom($ar);
- if (!$this->checkPerm($this->id ? '
C
' : 'E', $roo->authUser)) {
+ if (!$this->checkPerm($this->id ? '
A
' : 'E', $roo->authUser)) {
$roo->jerr("IMAGE UPLOAD PERMISSION DENIED");
}