Skip to content

Commit

Permalink
Dev: Don't use array as object
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Sep 17, 2021
1 parent 68a0cd5 commit 84fad85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/update/updatedb_helper.php
Expand Up @@ -4921,7 +4921,7 @@ function ($v) {
->queryRow();

if (!empty($plugin)) {
if ($plugin->plugin_type !== 'core') {
if ($plugin['plugin_type'] !== 'core') {
$oDB->createCommand()->update(
'{{plugins}}',
['plugin_type' => 'core'],
Expand Down

0 comments on commit 84fad85

Please sign in to comment.