[geeklog-cvs] Geeklog-1.x/system/classes story.class.php, 1.13, 1.14
Dirk Haun
dhaun at qs1489.pair.com
Sat Sep 22 09:10:24 EDT 2007
Update of /cvsroot/geeklog/Geeklog-1.x/system/classes
In directory qs1489.pair.com:/tmp/cvs-serv81088
Modified Files:
story.class.php
Log Message:
Fixed indentation and name of $_CONF['draft_flag']
Index: story.class.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/story.class.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** story.class.php 19 Aug 2007 16:28:02 -0000 1.13
--- story.class.php 22 Sep 2007 13:10:21 -0000 1.14
***************
*** 495,500 ****
if ($mode == 'editsubmission') {
! if (isset($_CONF['draftflag'])) {
! $this->_draft = $_CONF['draftflag'];
} else {
$this->_draft = 1;
--- 495,500 ----
if ($mode == 'editsubmission') {
! if (isset($_CONF['draft_flag'])) {
! $this->_draft = $_CONF['draft_flag'];
} else {
$this->_draft = 1;
***************
*** 629,633 ****
$varname = '_' . $fieldname;
$sql .= $fieldname . ', ';
! $values .= '\'' . addslashes($this->{$varname}) . '\', ';
}
}
--- 629,633 ----
$varname = '_' . $fieldname;
$sql .= $fieldname . ', ';
! $values .= '\'' . addslashes($this->{$varname}) . '\', ';
}
}
More information about the geeklog-cvs
mailing list