Fix condition for new items

This commit is contained in:
Artem Vasilev 2024-03-12 11:57:51 +03:00
parent 34289ae0e2
commit 54221c0091

View File

@ -103,7 +103,7 @@ class ClientModel extends AdminModel
{
$app = Factory::getApplication();
if ($table->id > 0)
if (empty($table->id))
{
$table->identifier = $this->generateNewIdentifier();
}