DataObjects/Images.php
authorAlan Knowles <alan@roojs.com>
Wed, 28 Sep 2016 09:12:25 +0000 (17:12 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 28 Sep 2016 09:12:25 +0000 (17:12 +0800)
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;
         }