2
0
forked from Wavyzz/dolibarr

Fix template

This commit is contained in:
Laurent Destailleur
2020-05-30 01:23:47 +02:00
parent 48596122e4
commit a69be00d37

View File

@@ -246,7 +246,7 @@ if ($action == 'create')
// Part to edit record
if (($id || $ref) && $action == 'edit')
{
print load_fiche_titre($langs->trans("MyObject"));
print load_fiche_titre($langs->trans("MyObject"), '', 'object_'.$object->picto);
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">';
print '<input type="hidden" name="token" value="'.newToken().'">';