Update index.php

This commit is contained in:
Laurent Destailleur 2021-04-09 11:37:32 +02:00 committed by GitHub
parent b582396afc
commit 6609ef4941
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;