Skip to content

Commit

Permalink
ensure values from settings are string to support removed settings
Browse files Browse the repository at this point in the history
  • Loading branch information
eluhr committed Apr 26, 2024
1 parent bac09ef commit 5bd2687
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SettingsAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static public function register($view)
{
$bundles = explode(
"\n",
\Yii::$app->settings->getOrSet('settingsAssetList', 'app\\assets\\AppAsset', 'app.assets', 'string')
(string)\Yii::$app->settings->getOrSet('settingsAssetList', 'app\\assets\\AppAsset', 'app.assets', 'string')
);

foreach ($bundles as $bundle) {
Expand All @@ -32,4 +32,4 @@ static public function register($view)
}
}
}
}
}

0 comments on commit 5bd2687

Please sign in to comment.