aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/plugins.php')
-rw-r--r--engine/lib/plugins.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index dd9a75e20..a91006e1b 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -265,6 +265,7 @@
{
global $CONFIG;
+ $plugin = sanitise_string($plugin);
$site_guid = (int) $site_guid;
if ($site_guid == 0)
$site_guid = $CONFIG->site_guid;
@@ -298,6 +299,7 @@
{
global $CONFIG;
+ $plugin = sanitise_string($plugin);
$site_guid = (int) $site_guid;
if ($site_guid == 0)
$site_guid = $CONFIG->site_guid;