From c1ae68a95b2e2a3364bbe48e85060656cd7130bb Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Wed, 23 Nov 2005 11:29:58 +0000 Subject: [PATCH] fix permalinks array idx --- docs/NEWS | 5 ++++- include/admin/personal.inc.php | 1 + include/admin/users.inc.php | 1 + include/functions.inc.php | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/NEWS b/docs/NEWS index aa23c7b..ba8b9b3 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -24,9 +24,12 @@ Version 1.0 () template author also made a stylesheet for the admin interface when selecting a theme (flotsam) -Version 0.9.1 () +Version 0.9.1 (November 23rd, 2005) ------------------------------------------------------------------------ + * Fix renaming authors and categories to also properly update permalinks + that have no %id% column (garvinhicking) + * Fix configuration for non-admins to not properly store values like blog Title (garvinhicking) diff --git a/include/admin/personal.inc.php b/include/admin/personal.inc.php index 7a27edc..3ae27c1 100644 --- a/include/admin/personal.inc.php +++ b/include/admin/personal.inc.php @@ -58,6 +58,7 @@ if ($serendipity['GET']['adminAction'] == 'save' && serendipity_checkFormToken() } $pl_data = array( + 'id' => $serendipity['POST']['authorid'], 'authorid' => $serendipity['POST']['authorid'], 'username' => $_POST['username'], 'realname' => $_POST['realname'], diff --git a/include/admin/users.inc.php b/include/admin/users.inc.php index 9e86e91..67df299 100644 --- a/include/admin/users.inc.php +++ b/include/admin/users.inc.php @@ -133,6 +133,7 @@ if (isset($_POST['SAVE_EDIT']) && serendipity_checkFormToken()) { } $pl_data = array( + 'id' => $serendipity['POST']['authorid'], 'authorid' => $serendipity['POST']['authorid'], 'username' => $_POST['username'], 'realname' => $_POST['realname'], diff --git a/include/functions.inc.php b/include/functions.inc.php index dbab673..2503c72 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -685,6 +685,7 @@ function serendipity_updateCategory($cid, $name, $desc, $authorid, $icon, $paren serendipity_plugin_api::hook_event('backend_category_update', $cid); $data = array( + 'id' => $cid, 'categoryid' => $cid, 'category_name' => $name, 'category_description' => $desc -- 2.39.5