[geeklog-hg] geeklog: can't use 'expire_ampm' to check for an expiry date whe...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Mar 24 06:02:05 EDT 2013


changeset 9015:5faa346e63c3
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/5faa346e63c3
user: Dirk Haun <dirk at haun-online.de>
date: Sun Mar 24 10:35:38 2013 +0100
description:
can't use 'expire_ampm' to check for an expiry date when the site uses 24 hour display; use 'expire_hour' instead

diffstat:

 system/classes/story.class.php |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 9772ae5f672c -r 5faa346e63c3 system/classes/story.class.php
--- a/system/classes/story.class.php	Sat Mar 23 22:19:26 2013 +0100
+++ b/system/classes/story.class.php	Sun Mar 24 10:35:38 2013 +0100
@@ -2043,7 +2043,7 @@
             $this->_statuscode = 0;
         }
 
-        if (array_key_exists('expire_ampm', $array)) {
+        if (array_key_exists('expire_hour', $array)) {
             $expire_ampm = COM_applyFilter($array['expire_ampm']);
             $expire_hour = COM_applyFilter($array['expire_hour'], true);
             $expire_minute = COM_applyFilter($array['expire_minute'], true);



More information about the geeklog-cvs mailing list