Fix update extrafield do not display immediatly
This commit is contained in:
parent
5cbfa61731
commit
3577025f0e
@ -2229,7 +2229,14 @@ abstract class CommonObject
|
|||||||
}else {
|
}else {
|
||||||
$colspan='3';
|
$colspan='3';
|
||||||
}
|
}
|
||||||
$value=(isset($_POST["options_".$key])?$_POST["options_".$key]:$this->array_options["options_".$key]);
|
switch($mode) {
|
||||||
|
case "view":
|
||||||
|
$value=$this->array_options["options_".$key];
|
||||||
|
break;
|
||||||
|
case "edit":
|
||||||
|
$value=(isset($_POST["options_".$key])?$_POST["options_".$key]:$this->array_options["options_".$key]);
|
||||||
|
break;
|
||||||
|
}
|
||||||
if ($extrafields->attribute_type[$key] == 'separate')
|
if ($extrafields->attribute_type[$key] == 'separate')
|
||||||
{
|
{
|
||||||
$out .= $extrafields->showSeparator($key);
|
$out .= $extrafields->showSeparator($key);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user