Fix: change for getJSON format
This commit is contained in:
parent
7f7ef8da1e
commit
5d33f687ae
@ -49,7 +49,13 @@ if (! empty($id) && ! empty($action) && ! empty($htmlname))
|
|||||||
|
|
||||||
$soc->fetch($id);
|
$soc->fetch($id);
|
||||||
|
|
||||||
echo $form->load_tva('tva_tx','',$soc,$mysoc,0,0,'',true);
|
$return=array();
|
||||||
|
|
||||||
|
$return['value'] = $form->load_tva('tva_tx','',$soc,$mysoc,0,0,'',true);
|
||||||
|
$return['num'] = $form->num;
|
||||||
|
$return['error'] = $form->error;
|
||||||
|
|
||||||
|
echo json_encode($return);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -3048,6 +3048,7 @@ class Form
|
|||||||
$return.= $this->error;
|
$return.= $this->error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->num = $num;
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user