Ist das eine neue Alpha 1.7?
Yupp, dort ist wieder open, da Garvin mein Geknitter wieder rückgängig gemacht hat. Ein ev. verbesserter Patch ist in der Röhre, bis er Zeit findet das fachgerecht auseinander zu klamüsern.
Könntest du das auf dein Problem hin eventuell mal testen?
Code: Select all
Index: functions_config.inc.php
===================================================================
--- functions_config.inc.php (Revision 2771)
+++ functions_config.inc.php (Arbeitskopie)
@@ -2116,19 +2116,16 @@
if ($supported['navigation']) {
$navlinks = array();
- if (!isset($template_loaded_config['amount'])) {
- $conf_amount = array(
+ $conf_amount = array(
'var' => 'amount',
'name' => NAVLINK_AMOUNT,
- 'desc' => NAVLINK_AMOUNT_BLAHBLAH,
'type' => 'string',
'default' => '5',
'scope' => 'global'
- );
- $template_config[] = $conf_amount;
- }
+ );
- if (empty($template_loaded_config['amount'])) {
+ if (!isset($template_loaded_config['amount']) || empty($template_loaded_config['amount'])) {
+ $template_config[] = $conf_amount;
$template_loaded_config['amount'] = $conf_amount['default'];
}
Das dahinter liegende eigentliche Problem liegt aber in der Verzögerung zwischen Config submit und dem options table, glaube ich. Und da sind wir hoffentlich gerade dran, da das auch mit dem boolean etc auftritt.