Update index.php

This commit is contained in:
Laurent Destailleur 2021-04-09 11:38:23 +02:00 committed by GitHub
parent 6609ef4941
commit b3c382c02d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1212,7 +1212,7 @@ if ($dirins && ($action == 'droptable' || $action == 'droptableextrafields') &&
}
}
if ($dirins && ($action == 'addproperty' && empty($cancel)) && !empty($module) && !empty($tabobj)) {
if ($dirins && $action == 'addproperty' && empty($cancel) && !empty($module) && !empty($tabobj)) {
$error = 0;
$objectname = $tabobj;