[geeklog-cvs] geeklog: Missing global $_TABLES (reported by Jokke_K)
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Aug 1 07:58:20 EDT 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/d0265584f2c7
changeset: 7213:d0265584f2c7
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 f3dc16b9e325 -r d0265584f2c7 system/classes/story.class.php
--- a/system/classes/story.class.php Sat Aug 01 11:20:46 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