Pman/Images.php
[Pman.Base] / Pman / Images.php
index 02f5b3f..8eaaad8 100644 (file)
@@ -117,6 +117,7 @@ class Pman_Images extends Pman
        
         $img = DB_DataObjecT::factory('Images');
         if (!$id || !$img->get($id)) {
        
         $img = DB_DataObjecT::factory('Images');
         if (!$id || !$img->get($id)) {
+            print_r($id);exit;
             header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png?reason=' .
                 urlencode("image has been removed or deleted."));
         }
             header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png?reason=' .
                 urlencode("image has been removed or deleted."));
         }