[geeklog-cvs] geeklog: Forgot to check in the actual fix for bug #0000777 (see...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Mon Dec 8 06:04:39 EST 2008
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/3a5ce8b95415
changeset: 6497:3a5ce8b95415
user: Dirk Haun <dirk at haun-online.de>
date: Mon Dec 08 12:04:27 2008 +0100
description:
Forgot to check in the actual fix for bug #0000777 (see changeset 6491)
diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
plugins/staticpages/services.inc.php | 8 ++++++--
diffs (25 lines):
diff -r ad7471d342ae -r 3a5ce8b95415 plugins/staticpages/services.inc.php
--- a/plugins/staticpages/services.inc.php Sun Dec 07 17:38:30 2008 +0100
+++ b/plugins/staticpages/services.inc.php Mon Dec 08 12:04:27 2008 +0100
@@ -103,7 +103,9 @@
}
}
- $args['sp_uid'] = $_USER['uid'];
+ if (!isset($args['sp_uid'])) {
+ $args['sp_uid'] = $_USER['uid'];
+ }
if (empty($args['sp_title']) && !empty($args['title'])) {
$args['sp_title'] = $args['title'];
@@ -118,7 +120,9 @@
$args['sp_tid'] = $args['category'][0];
}
- $args['owner_id'] = $_USER['uid'];
+ if (!isset($args['owner_id'])) {
+ $args['owner_id'] = $_USER['uid'];
+ }
if (empty($args['group_id'])) {
$args['group_id'] = SEC_getFeatureGroup('staticpages.edit', $_USER['uid']);
More information about the geeklog-cvs
mailing list