mirror of
https://github.com/webmasterskaya/joomla-oauth-server.git
synced 2024-11-23 22:34:50 +03:00
Fix condition for new items
This commit is contained in:
parent
34289ae0e2
commit
54221c0091
@ -103,7 +103,7 @@ class ClientModel extends AdminModel
|
|||||||
{
|
{
|
||||||
$app = Factory::getApplication();
|
$app = Factory::getApplication();
|
||||||
|
|
||||||
if ($table->id > 0)
|
if (empty($table->id))
|
||||||
{
|
{
|
||||||
$table->identifier = $this->generateNewIdentifier();
|
$table->identifier = $this->generateNewIdentifier();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user