DataObjects/Images.php
authorEdward <edward@roojs.com>
Mon, 7 Jan 2013 06:47:28 +0000 (14:47 +0800)
committerEdward <edward@roojs.com>
Mon, 7 Jan 2013 06:47:28 +0000 (14:47 +0800)
DataObjects/Images.php

index 9d7ee65..155a2de 100644 (file)
@@ -241,7 +241,7 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
         if ($this->id) {
             $this->beforeDelete();
         }
-        if ( empty($this->ontable) && $this->ontable !== false) {
+        if ( empty($this->ontable)) {
             $this->err = "Missing  ontable";
             return false;
         }