bug 349: Nicer display messages instead of "die" when urls cannot be

solved (also set 404 status code for bots)

git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1287 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2006-04-28 05:11:46 +00:00
parent 1cc593f760
commit e827e05429
5 changed files with 34 additions and 2 deletions
+2
View File
@@ -118,6 +118,8 @@ SELECT '.implode(',', $infos).'
WHERE id = '.$id.'
;';
$row = mysql_fetch_array(pwg_query($query));
if (empty($row))
return null;
$cat = array();
foreach ($infos as $info)