projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8fcc19
)
Images.php
author
Alan Knowles
<alan@roojs.com>
Wed, 27 Sep 2017 07:00:54 +0000
(15:00 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 27 Sep 2017 07:00:54 +0000
(15:00 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
ce54c47
..
8d0f377
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-165,7
+165,7
@@
class Pman_Core_Images extends Pman
$this->imgErr("image has been removed or deleted.",$s);
}
- if (!$this->authUser
)
&& !in_array($img->ontable,$this->public_image_tables)) {
+ if (!$this->authUser && !in_array($img->ontable,$this->public_image_tables)) {
if ($img->ontable != 'core_company') {
$this->imgErr("not-authenticated",$s);