We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c39031 commit 2343304Copy full SHA for 2343304
system/Model.php
@@ -469,7 +469,8 @@ protected function idValue($data)
469
{
470
return $data->{$this->primaryKey};
471
}
472
- elseif (is_array($data) && ! empty($data[$this->primaryKey]))
+
473
+ if (is_array($data) && ! empty($data[$this->primaryKey]))
474
475
return $data[$this->primaryKey];
476
0 commit comments