aboutsummaryrefslogtreecommitdiffstats
path: root/include/plugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/plugin.php')
-rw-r--r--include/plugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/plugin.php b/include/plugin.php
index 9555268f7..7202ccaa9 100644
--- a/include/plugin.php
+++ b/include/plugin.php
@@ -451,7 +451,7 @@ function format_js_if_exists($source) {
else
$path = theme_include($source);
if($path)
- return '<script src="' . z_root() . '/' . $source . '" ></script>' . "\r\n" ;
+ return '<script src="' . z_root() . '/' . $path . '" ></script>' . "\r\n" ;
}