Fix sql error
This commit is contained in:
parent
0b68da4e9e
commit
57a2ea3a53
@ -1228,6 +1228,8 @@ if ($action == 'create') {
|
|||||||
}
|
}
|
||||||
$morehtmlref .= '</div>';
|
$morehtmlref .= '</div>';
|
||||||
|
|
||||||
|
$morehtmlright = '';
|
||||||
|
|
||||||
dol_banner_tab($object, 'ref', $linkback, 1, 'title', 'none', $morehtmlref, '', 0, '', $morehtmlright);
|
dol_banner_tab($object, 'ref', $linkback, 1, 'title', 'none', $morehtmlref, '', 0, '', $morehtmlright);
|
||||||
|
|
||||||
print '<div class="fichecenter">';
|
print '<div class="fichecenter">';
|
||||||
|
|||||||
@ -2001,6 +2001,11 @@ abstract class CommonObject
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// For backward compatibility
|
||||||
|
if ($this->table_element == 'facture_rec' && $fieldid == 'title') {
|
||||||
|
$fieldid = 'titre';
|
||||||
|
}
|
||||||
|
|
||||||
// Security on socid
|
// Security on socid
|
||||||
$socid = 0;
|
$socid = 0;
|
||||||
if ($user->socid > 0) {
|
if ($user->socid > 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user