summaryrefslogtreecommitdiff
path: root/classes/handler
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-07-24 14:03:04 +0300
committerAndrew Dolgov <[email protected]>2022-07-24 14:03:04 +0300
commit5006c754c42a09f5b88b258c2da4b9eff7508357 (patch)
tree841425d4e163d746642d70b8ac0df381343bbf2b /classes/handler
parentf7b3c50828d4604ac5999daf3c3405e65c877e2f (diff)
readability: add missing dependencies
Diffstat (limited to 'classes/handler')
-rwxr-xr-xclasses/handler/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index 499cf8db2..bea48b6b1 100755
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -807,7 +807,7 @@ class Handler_Public extends Handler {
} else {
user_error("PluginHandler[PUBLIC]: Requested method '$method' of unknown plugin '$plugin_name'.", E_USER_WARNING);
header("Content-Type: text/json");
- print Errors::to_json(Errors::E_UNKNOWN_PLUGIN);
+ print Errors::to_json(Errors::E_UNKNOWN_PLUGIN, ['plugin' => $plugin_name]);
}
}