Fix: edit form
Fix: pgsql driver
This commit is contained in:
parent
e8ec0f524f
commit
56d71f0da0
@ -191,8 +191,9 @@ class Form
|
|||||||
$ret.='</td>';
|
$ret.='</td>';
|
||||||
if ($typeofdata != 'day' && $typeofdata != 'datepicker' && $typeofdata != 'datehourpicker')
|
if ($typeofdata != 'day' && $typeofdata != 'datepicker' && $typeofdata != 'datehourpicker')
|
||||||
{
|
{
|
||||||
$ret.='<td align="left"><input type="submit" class="button" name="modify" value="'.$langs->trans("Modify").'">';
|
$ret.='<td align="left">';
|
||||||
$ret.='<br><br>'."\n";
|
$ret.='<input type="submit" class="button" name="modify" value="'.$langs->trans("Modify").'">';
|
||||||
|
$ret.='<br>'."\n";
|
||||||
$ret.='<input type="submit" class="button" name="cancel" value="'.$langs->trans("Cancel").'">';
|
$ret.='<input type="submit" class="button" name="cancel" value="'.$langs->trans("Cancel").'">';
|
||||||
$ret.='</td>';
|
$ret.='</td>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -172,7 +172,7 @@ class DoliDBPgsql extends DoliDB
|
|||||||
else if (preg_match('/DROP TABLE/i',$line)) $type='dml';
|
else if (preg_match('/DROP TABLE/i',$line)) $type='dml';
|
||||||
}
|
}
|
||||||
|
|
||||||
$line=preg_replace('/ as signed/i',' as integer',$line);
|
$line=preg_replace('/ as signed\)/i',' as integer)',$line);
|
||||||
|
|
||||||
if ($type == 'dml')
|
if ($type == 'dml')
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user