[geeklog-cvs] geeklog: Missing global $_TABLES (reported by Jokke_K)
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sun Aug 30 13:14:49 EDT 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/8f8d532fa9db
changeset: 7264:8f8d532fa9db
user: Dirk Haun <dirk at haun-online.de>
date: Sat Aug 01 13:21:33 2009 +0200
description:
Missing global $_TABLES (reported by Jokke_K)
diffstat:
system/classes/story.class.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 4d63f15781aa -r 8f8d532fa9db system/classes/story.class.php
--- a/system/classes/story.class.php Thu Jul 30 19:44:19 2009 +0200
+++ b/system/classes/story.class.php Sat Aug 01 13:21:33 2009 +0200
@@ -1458,7 +1458,7 @@
*/
function DisplayElements($item = 'title')
{
- global $_CONF;
+ global $_CONF, $_TABLES;
$return = '';
@@ -1533,7 +1533,7 @@
break;
case 'commentcode':
- //check to see if comment_time has past
+ //check to see if comment_time has passed
if ($this->_comment_expire != 0 && (time() > $this->_comment_expire) && $this->_commentcode == 0 ) {
$return = 1;
//if comment code is not 1, change it to 1
More information about the geeklog-cvs
mailing list