mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
Customer portal : Autocomplete field was not updating dependant fields.
SVN:trunk[4188]
This commit is contained in:
@@ -43,7 +43,14 @@ abstract class FormManager
|
||||
static function FromJSON($sJson)
|
||||
{
|
||||
// Overload in child class when needed
|
||||
$aJson = json_decode($sJson, true);
|
||||
if (is_array($sJson))
|
||||
{
|
||||
$aJson = $sJson;
|
||||
}
|
||||
else
|
||||
{
|
||||
$aJson = json_decode($sJson, true);
|
||||
}
|
||||
|
||||
$oFormManager = new static();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user