From fcad0b8c9bff4251ce51417336edd9d86d8ca6e3 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 14 Mar 2006 02:10:30 +0000 Subject: [PATCH] r758: Rebuild the cache when we save custom field descriptions (http://bugs.iris-studios.com/showreport.php?bugid=7) --- admin/field.php | 5 +++++ docs/changes.txt | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/admin/field.php b/admin/field.php index a0dae29..0c589f1 100644 --- a/admin/field.php +++ b/admin/field.php @@ -11,6 +11,7 @@ \*=====================================================================*/ require_once('./global.php'); +require_once('./includes/functions_datastore.php'); if (!can_perform('canadminfields')) { @@ -45,6 +46,8 @@ if ($_REQUEST['do'] == 'kill') $db->query("ALTER TABLE " . TABLE_PREFIX . "bugvaluefill DROP field$field[fieldid]"); $db->query("OPTIMIZE TABLE " . TABLE_PREFIX . "bugvaluefill"); + build_user_help(); + $admin->redirect('field.php?do=modify'); } @@ -166,6 +169,8 @@ if ($_REQUEST['do'] == 'update') VALUES (" . implode("),\n\t\t\t(", $values) . ")" ); + + build_user_help(); $admin->redirect('field.php?do=modify', ($add ? $lang->string('The custom field has been added') : $lang->string('The custom field has been updated'))); } diff --git a/docs/changes.txt b/docs/changes.txt index 79ff46d..45bb503 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -1,3 +1,7 @@ +1.0.2 +================== +- User help cache was not rebuilt for descriptions in custom fields (http://bugs.iris-studios.com/showreport.php?bugid=7) + 1.0.1 ================== - Fixed a SQL error in voting for those with a table prefix (http://bugs.iris-studios.com/showreport.php?bugid=6) -- 2.43.5