Fix: la virgule n'était pas modifiée en point lors de la division
This commit is contained in:
parent
76cb51b11e
commit
cc6b14543f
@ -679,13 +679,16 @@ class Form
|
|||||||
{
|
{
|
||||||
if ($conf->use_ajax && $conf->global->COMPANY_USE_SEARCH_TO_SELECT)
|
if ($conf->use_ajax && $conf->global->COMPANY_USE_SEARCH_TO_SELECT)
|
||||||
{
|
{
|
||||||
if ($selected) $obj = $this->db->fetch_object($resql);
|
$socid = 0;
|
||||||
$socid = $obj->rowid?$obj->rowid:'';
|
if ($selected)
|
||||||
|
{
|
||||||
|
$obj = $this->db->fetch_object($resql);
|
||||||
|
$socid = $obj->rowid?$obj->rowid:'';
|
||||||
|
}
|
||||||
print '<table class="nobordernopadding"><tr class="nocellnopadd">';
|
print '<table class="nobordernopadding"><tr class="nocellnopadd">';
|
||||||
print '<td class="nobordernopadding">';
|
print '<td class="nobordernopadding">';
|
||||||
print '<div>';
|
print '<div>';
|
||||||
if ($obj->rowid == 0)
|
if ($socid == 0)
|
||||||
{
|
{
|
||||||
print '<input type="text" size="30" id="'.$htmlname.'" name="'.$htmlname.'" value=""/>';
|
print '<input type="text" size="30" id="'.$htmlname.'" name="'.$htmlname.'" value=""/>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user