Images.php
authorEdward <edward@roojs.com>
Tue, 18 Mar 2014 06:08:11 +0000 (14:08 +0800)
committerEdward <edward@roojs.com>
Tue, 18 Mar 2014 06:08:11 +0000 (14:08 +0800)
Images.php

index d6a7d58..903f8aa 100644 (file)
@@ -140,7 +140,7 @@ class Pman_Core_Images extends Pman
         
        
         $img = DB_DataObjecT::factory('Images');
-        print_r($img->fetchAll());exit;
+        print_r($img->get($id));exit;
         if (!$id || !$img->get($id)) {
              
             header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png?reason=' .