[geeklog-cvs] Geeklog-1.x/system lib-story.php,1.131,1.132
Michael Jervis
mjervis at qs1489.pair.com
Sat Sep 20 04:20:57 EDT 2008
Update of /cvsroot/geeklog/Geeklog-1.x/system
In directory qs1489.pair.com:/tmp/cvs-serv7622/system
Modified Files:
lib-story.php
Log Message:
Bug #0000742: Saving a story can change the owner
Index: lib-story.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-story.php,v
retrieving revision 1.131
retrieving revision 1.132
diff -C2 -d -r1.131 -r1.132
*** lib-story.php 30 Aug 2008 07:26:42 -0000 1.131
--- lib-story.php 20 Sep 2008 08:20:54 -0000 1.132
***************
*** 920,924 ****
}
! $args['owner_id'] = $_USER['uid'];
if (empty($args['group_id'])) {
--- 920,926 ----
}
! if(empty($args['owner_id'])) {
! $args['owner_id'] = $_USER['uid'];
! }
if (empty($args['group_id'])) {
More information about the geeklog-cvs
mailing list