From 99ee9fd2f8a98954430e8441d93e7e625246cbc4 Mon Sep 17 00:00:00 2001 From: Mike Miller Date: Mon, 18 Feb 2013 12:34:01 +0200 Subject: [PATCH] Movies can have capture dates as well --- 3.0/modules/date_tag/helpers/date_tag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3.0/modules/date_tag/helpers/date_tag.php b/3.0/modules/date_tag/helpers/date_tag.php index 3ce14d67..c3262c2c 100644 --- a/3.0/modules/date_tag/helpers/date_tag.php +++ b/3.0/modules/date_tag/helpers/date_tag.php @@ -20,7 +20,7 @@ class date_tag { static function tag_item($item) { - if ($item->is_photo() && $item->captured) { + if (!$item->is_album() && $item->captured) { $date_format = module::get_var("date_tag", "template"); foreach (explode(",", date($date_format, $item->captured)) as $tag_name) { $tag_name = trim($tag_name);