DataObjects/Images.php
[Pman.Core] / DataObjects / Images.php
index 95f2e73..372e8a2 100644 (file)
@@ -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;
         }