[geeklog-cvs] Geeklog-1.x/system/classes story.class.php, 1.28, 1.29
Dirk Haun
dhaun at qs1489.pair.com
Sun Jun 22 16:23:10 EDT 2008
Update of /cvsroot/geeklog/Geeklog-1.x/system/classes
In directory qs1489.pair.com:/tmp/cvs-serv46184/system/classes
Modified Files:
story.class.php
Log Message:
'bodytext' may not be set, e.g. when FCKeditor is activated
Index: story.class.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/story.class.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** story.class.php 19 Jun 2008 20:25:48 -0000 1.28
--- story.class.php 22 Jun 2008 20:23:07 -0000 1.29
***************
*** 814,817 ****
--- 814,821 ----
$this->_unixdate = COM_applyFilter($array['date'], true);
+ if (!isset($array['bodytext'])) {
+ $array['bodytext'] = '';
+ }
+
/* Then load the title, intro and body */
if (($array['postmode'] == 'html') || ($array['postmode'] == 'adveditor')) {
More information about the geeklog-cvs
mailing list