r758: Rebuild the cache when we save custom field descriptions (http://bugs.iris...
authorRobert Sesek <rsesek@bluestatic.org>
Tue, 14 Mar 2006 02:10:30 +0000 (02:10 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Tue, 14 Mar 2006 02:10:30 +0000 (02:10 +0000)
admin/field.php
docs/changes.txt

index a0dae29e87612b4b48c7eb388723955a0aaedbf3..0c589f19e9ac1e04c621c1014e0c3c08644a033c 100644 (file)
@@ -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')));
 }
index 79ff46de8bebc43ad2cecbea7315f082c335444b..45bb50396f3843b25c21f76bcc304d09a51ae704 100644 (file)
@@ -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)