From e4067c2106b34ebe3d6ff5f46eaf568269c2f97c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 4 Nov 2010 13:17:44 +0800 Subject: [PATCH] Pman/Images.php --- Pman/Images.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Pman/Images.php b/Pman/Images.php index 1cfc78a..e631017 100644 --- a/Pman/Images.php +++ b/Pman/Images.php @@ -82,8 +82,8 @@ class Pman_Images extends Pman } $img->limit(1); if (!$img->find(true)) { - header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png'); - die("no images for that item: " . htmlspecialchars($id)); + header('Location: ' . $this->rootURL . '/Pman/templates/images/file-broken.png?reason=' . + urlencode("no images for that item: " . htmlspecialchars($id))); } $id = $img->id; -- 2.39.2