projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aac6b8
)
missing source image detection
author
Alan
<alan@roojs.com>
Wed, 30 Mar 2022 03:03:44 +0000
(11:03 +0800)
committer
Alan
<alan@roojs.com>
Wed, 30 Mar 2022 03:03:44 +0000
(11:03 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
039ec02
..
32859e1
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-183,7
+183,7
@@
class Pman_Core_Images extends Pman
$img = DB_DataObjecT::factory('Images');
- if (!$id || !$img->get($id)) {
+ if (!$id || !$img->get($id)
|| !$img->exists()
) {
$this->imgErr("image has been removed or deleted.",$s);
}