[geeklog-cvs] geeklog: Fixing issue with Windows/php4 and expiry dates.
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Sep 27 03:25:50 EDT 2008
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/1f959e897c63
changeset: 6404:1f959e897c63
user: Mike Jervis <mike at fuckingbrit.com>
date: Sat Sep 27 08:24:00 2008 +0100
description:
Fixing issue with Windows/php4 and expiry dates.
diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
system/classes/story.class.php | 4 +---
diffs (14 lines):
diff -r df58d0c33f24 -r 1f959e897c63 system/classes/story.class.php
--- a/system/classes/story.class.php Fri Sep 26 20:46:15 2008 +0100
+++ b/system/classes/story.class.php Sat Sep 27 08:24:00 2008 +0100
@@ -1456,9 +1456,7 @@
if (empty($this->_expire)) {
$return = time();
} else {
- // Need to convert text date/time to a timestamp
- $return = explode(' ', $this->_expire);
- $return = COM_convertDate2Timestamp($return[0], $return[1]);
+ $return = $this->_expire;
}
break;
More information about the geeklog-cvs
mailing list