[geeklog-cvs] geeklog: Initialize page_title

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Mar 27 10:51:52 EDT 2010


changeset 7840:150710d60183
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/150710d60183
user: Dirk Haun <dirk at haun-online.de>
date: Sat Mar 27 15:06:16 2010 +0100
description:
Initialize page_title

diffstat:

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

diffs (20 lines):

diff -r 55540f94ac4d -r 150710d60183 system/classes/story.class.php
--- a/system/classes/story.class.php	Sat Mar 27 15:04:43 2010 +0100
+++ b/system/classes/story.class.php	Sat Mar 27 15:06:16 2010 +0100
@@ -393,7 +393,7 @@
             $varname = '_' . $fieldname;
 
             if (array_key_exists($fieldname, $story)) {
-                $this->{$varname}= stripslashes($story[$fieldname]);
+                $this->{$varname} = stripslashes($story[$fieldname]);
             }
         }
 
@@ -491,6 +491,7 @@
             $this->_commentcode = $_CONF['comment_code'];
             $this->_trackbackcode = $_CONF['trackback_code'];
             $this->_title = '';
+            $this->_page_title = '';
             $this->_meta_description = '';
             $this->_meta_keywords = '';            
             $this->_introtext = '';



More information about the geeklog-cvs mailing list