1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 01:25:56 +00:00

force _ENABLED_PLUGINS to string when passed to pluginhost

This commit is contained in:
Andrew Dolgov
2021-02-12 17:20:37 +03:00
parent 1f2ba932b8
commit 71dfc83466
3 changed files with 4 additions and 4 deletions

View File

@@ -77,7 +77,7 @@ class UserHelper {
if ($owner_uid && SCHEMA_VERSION >= 100 && empty($_SESSION["safe_mode"])) {
$plugins = get_pref("_ENABLED_PLUGINS", $owner_uid);
$pluginhost->load($plugins, PluginHost::KIND_USER, $owner_uid);
$pluginhost->load((string)$plugins, PluginHost::KIND_USER, $owner_uid);
/*if (get_schema_version() > 100) {
$pluginhost->load_data();