Update index.php

This commit is contained in:
Laurent Destailleur 2023-01-18 20:11:12 +01:00 committed by GitHub
parent 6d8f80d46e
commit aa273d2155
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1296,7 +1296,7 @@ if ($dirins && $action == 'addproperty' && empty($cancel) && !empty($module) &&
setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentities("Type")), null, 'errors');
}
if (!$error && !GETPOST('regenerateclasssql')&& !GETPOST('regeneratemissing')) {
if (!$error && !GETPOST('regenerateclasssql') && !GETPOST('regeneratemissing')) {
$addfieldentry = array(
'name'=>GETPOST('propname', 'aZ09'),
'label'=>GETPOST('proplabel', 'alpha'),