Revision 303d345d
Added by Renato Botelho over 9 years ago
src/etc/inc/upgrade_config.inc | ||
---|---|---|
4067 | 4067 |
list($file, $col, $display) = explode(':', $widget); |
4068 | 4068 |
|
4069 | 4069 |
switch ($display) { |
4070 |
case 'close': |
|
4071 |
case 'open': |
|
4072 |
/* keep already converted items */ |
|
4073 |
break; |
|
4070 | 4074 |
case 'hide': |
4071 | 4075 |
$display = 'close'; |
4072 | 4076 |
break; |
... | ... | |
4075 | 4079 |
break; |
4076 | 4080 |
default: |
4077 | 4081 |
/* close, none or something is wrong here, ignore it */ |
4078 |
continue; |
|
4082 |
continue 2;
|
|
4079 | 4083 |
} |
4080 | 4084 |
|
4081 | 4085 |
/* Remove '-container' from widget name */ |
Also available in: Unified diff
Fix upgrade_126_to_127()
- Do not discard items with $display already set to open or close
- Call continue 2 to move to next widget