Clean code
This commit is contained in:
parent
ba52b3314b
commit
c42eaaf16c
@ -1153,7 +1153,7 @@ if ((empty($id) && empty($ref)) || $action == 'create' || $action == 'add') {
|
||||
$errors[] = $langs->transnoentitiesnoconv('ErrorEndDateCP');
|
||||
break;
|
||||
case 'SQL_Create':
|
||||
$errors[] = $langs->transnoentitiesnoconv('ErrorSQLCreateCP').' '.$_GET['msg'];
|
||||
$errors[] = $langs->transnoentitiesnoconv('ErrorSQLCreateCP');
|
||||
break;
|
||||
case 'CantCreate':
|
||||
$errors[] = $langs->transnoentitiesnoconv('CantCreateCP');
|
||||
|
||||
@ -385,7 +385,7 @@ if ((empty($id) && empty($ref)) || $action == 'create' || $action == 'add') {
|
||||
$errors[] = $langs->trans('ErrorEndDateCP');
|
||||
break;
|
||||
case 'SQL_Create':
|
||||
$errors[] = $langs->trans('ErrorSQLCreateCP').' <b>'.htmlentities($_GET['msg']).'</b>';
|
||||
$errors[] = $langs->trans('ErrorSQLCreateCP');
|
||||
break;
|
||||
case 'CantCreate':
|
||||
$errors[] = $langs->trans('CantCreateCP');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user