2
0
forked from Wavyzz/dolibarr

Fix case of newtoken()

This commit is contained in:
Laurent Destailleur
2021-09-18 22:09:55 +02:00
parent 0749d01c5a
commit d760686239
135 changed files with 156 additions and 156 deletions

View File

@@ -135,7 +135,7 @@ if ($id > 0 || !empty($ref)) {
$morehtmlref .= '<br>'.$langs->trans('Project').' ';
if ($user->rights->commande->creer) {
if ($action != 'classify') {
//$morehtmlref.='<a class="editfielda" href="' . $_SERVER['PHP_SELF'] . '?action=classify&token='.newtoken().'&id=' . $object->id . '">' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '</a> : ';
//$morehtmlref.='<a class="editfielda" href="' . $_SERVER['PHP_SELF'] . '?action=classify&token='.newToken().'&id=' . $object->id . '">' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '</a> : ';
$morehtmlref .= ' : ';
}
if ($action == 'classify') {