From: Alan Knowles Date: Thu, 4 Nov 2010 05:23:15 +0000 (+0800) Subject: Pman/Images.php X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=commitdiff_plain;h=90f436969e1174dbc2160640b3af41364717beea Pman/Images.php --- diff --git a/Pman/Images.php b/Pman/Images.php index 02f5b3f..8eaaad8 100644 --- a/Pman/Images.php +++ b/Pman/Images.php @@ -117,6 +117,7 @@ class Pman_Images extends Pman $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.")); }