aboutsummaryrefslogtreecommitdiffstats
path: root/include/category_cats.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-12-08 00:12:44 +0000
committerrvelices <rv-github@modusoptimus.com>2006-12-08 00:12:44 +0000
commit7325369bf5f7ea3f3f50d0f716b9ddf417767623 (patch)
treefd7c74180da16d17da705ecd02835258fbf52e21 /include/category_cats.inc.php
parent92fc9abb14a2186806ed50322730caae54909f0f (diff)
- new function set_status_header (set http status code)
- correction on recent/recent_by_child icons git-svn-id: http://piwigo.org/svn/trunk@1643 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/category_cats.inc.php')
-rw-r--r--include/category_cats.inc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/category_cats.inc.php b/include/category_cats.inc.php
index eaa01b80b..83f4b7209 100644
--- a/include/category_cats.inc.php
+++ b/include/category_cats.inc.php
@@ -65,8 +65,7 @@ $image_ids = array();
while ($row = mysql_fetch_assoc($result))
{
- $row['is_child_date_last'] = isset($row['date_last'])
- and $row['max_date_last']>$row['date_last'];
+ $row['is_child_date_last'] = @$row['max_date_last']>@$row['date_last'];
if (isset($row['representative_picture_id'])
and is_numeric($row['representative_picture_id']))