$options[30] = get_string('numseconds', '', 30);
$options[0] = get_string('no');
- choose_from_menu ($options, "cachetext", $config->cachetext, "", "", "");
+ choose_from_menu ($options, "cachetext", $CFG->cachetext, "", "", "");
?>
</td>
<td>
/// If data submitted, then process and store.
+ if (!empty($options)) {
+ if ($config = data_submitted()) {
+ foreach ($config as $name => $value) {
+ set_config($name, $value);
+ }
+ }
+ }
+
if (!empty($add) and !empty($uselect)) {
$selectedfilter = $uselect;
if (!in_array($selectedfilter, $installedfilters)) {