[geeklog-cvs] Geeklog-1.x/system/classes story.class.php, 1.27, 1.28
Dirk Haun
dhaun at qs1489.pair.com
Thu Jun 19 16:25:50 EDT 2008
Update of /cvsroot/geeklog/Geeklog-1.x/system/classes
In directory qs1489.pair.com:/tmp/cvs-serv42728/system/classes
Modified Files:
story.class.php
Log Message:
Approving a story submission by saving it from the Admin's story editor left a duplicate in the submission queue, unless you changed the story ID at the same time
Index: story.class.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/story.class.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** story.class.php 24 May 2008 19:46:13 -0000 1.27
--- story.class.php 19 Jun 2008 20:25:48 -0000 1.28
***************
*** 574,577 ****
--- 574,579 ----
/* Fix up old sid => new sid stuff */
+ $checksid = addslashes($this->_originalSid); // needed below
+
if ($this->_sid != $this->_originalSid) {
/* The sid has changed. Load from request will have
***************
*** 582,586 ****
* number of SQL queries we do.
*/
- $checksid = addslashes($this->_originalSid);
$newsid = addslashes($this->_sid);
--- 584,587 ----
More information about the geeklog-cvs
mailing list