From 5afdcb17a2061b0b51eedddb09a795d70028e2ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Bakkeli?= Date: Wed, 14 Sep 2011 15:57:52 +0200 Subject: [PATCH] fixed bug? --- inside/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inside/functions.php b/inside/functions.php index 7c2d567..119419b 100644 --- a/inside/functions.php +++ b/inside/functions.php @@ -1571,7 +1571,8 @@ function strip_nl($string) { function getStickerPeriod($time) { - $time = is_numeric($time)?$time:strtotime($time); + + $time = strtotime(getExpiryDate($time));// is_numeric($time)?$time:strtotime($time); if($time < strtotime('2011-08-01')) return date('Y', $time); //gammelt klistremerke