[geeklog-cvs] Geeklog-1.x/system/classes story.class.php, 1.31, 1.32

Dirk Haun dhaun at qs1489.pair.com
Sat Jul 12 08:51:27 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/system/classes
In directory qs1489.pair.com:/tmp/cvs-serv75047/system/classes

Modified Files:
	story.class.php 
Log Message:
Fixed SQL error(s) for story submissions by users with story.submit but no further Story Admin permissions (reported by Orion)


Index: story.class.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/story.class.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** story.class.php	4 Jul 2008 18:26:25 -0000	1.31
--- story.class.php	12 Jul 2008 12:51:18 -0000	1.32
***************
*** 918,924 ****
--- 918,927 ----
              $this->_oldsid = $this->_sid;
              $this->_date = mktime();
+             $this->_featured = 0;
              $this->_commentcode = $_CONF['comment_code'];
              $this->_trackbackcode = $_CONF['trackback_code'];
+             $this->_statuscode = 0;
              $this->_show_topic_icon = $_CONF['show_topic_icon'];
+             $this->_owner_id = $_USER['uid'];
              $this->_group_id = $T['group_id'];
              $this->_perm_owner = $T['perm_owner'];




More information about the geeklog-cvs mailing list