projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
82bb0c0
)
DataObjects/Images.php
author
Alan Knowles
<alan@roojs.com>
Wed, 28 Sep 2016 09:12:25 +0000
(17:12 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 28 Sep 2016 09:12:25 +0000
(17:12 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
95f2e73
..
372e8a2
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-106,6
+106,7
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
{
// copy the file into the storage area..
if (!file_exists($file) || !filesize($file)) {
+ $this->err = "File $file did not exist or is 0 size";
return false;
}