Update info.php

This commit is contained in:
Laurent Destailleur 2021-10-31 14:02:34 +01:00 committed by GitHub
parent 8dfe4fe05f
commit 3dcd1aa05d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,8 +46,7 @@ $ref = GETPOST("ref", 'alpha');
if (empty($object->id)) { if (empty($object->id)) {
llxHeader(); llxHeader();
$langs->load('errors'); $langs->load('errors');
echo '<div class="error">'.$langs->trans("ErrorRecordNotFound"); echo '<div class="error">'.$langs->trans("ErrorRecordNotFound").'</div>';
echo ' <a href="javascript:history.go(-1)">'.$langs->trans('GoBack').'</div>';
llxFooter(); llxFooter();
exit; exit;
} }