[geeklog-cvs] Geeklog-1.x/system lib-story.php,1.103,1.104
Dirk Haun
dhaun at qs1489.pair.com
Sun Sep 16 12:50:04 EDT 2007
Update of /cvsroot/geeklog/Geeklog-1.x/system
In directory qs1489.pair.com:/tmp/cvs-serv9324/system
Modified Files:
lib-story.php
Log Message:
Cosmetics
Index: lib-story.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/lib-story.php,v
retrieving revision 1.103
retrieving revision 1.104
diff -C2 -d -r1.103 -r1.104
*** lib-story.php 24 Aug 2007 11:40:31 -0000 1.103
--- lib-story.php 16 Sep 2007 16:50:00 -0000 1.104
***************
*** 1005,1010 ****
if (!empty($args['id'])) {
$args['old_sid'] = $args['id'];
! } else
return PLG_RET_ERROR;
if (empty($args['sid'])) {
--- 1005,1011 ----
if (!empty($args['id'])) {
$args['old_sid'] = $args['id'];
! } else {
return PLG_RET_ERROR;
+ }
if (empty($args['sid'])) {
***************
*** 1372,1379 ****
COM_accessLog ("User {$_USER['username']} tried to illegally delete story $sid.");
$output = COM_refresh ($_CONF['site_admin_url'] . '/story.php');
! if ($_USER['uid'] > 1)
return PLG_RET_PERMISSION_DENIED;
! else
return PLG_RET_AUTH_FAILED;
}
--- 1373,1381 ----
COM_accessLog ("User {$_USER['username']} tried to illegally delete story $sid.");
$output = COM_refresh ($_CONF['site_admin_url'] . '/story.php');
! if ($_USER['uid'] > 1) {
return PLG_RET_PERMISSION_DENIED;
! } else {
return PLG_RET_AUTH_FAILED;
+ }
}
More information about the geeklog-cvs
mailing list