summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 2b5548374..dc217d900 100644
--- a/index.php
+++ b/index.php
@@ -42,7 +42,7 @@
<script type="text/javascript">
<?php foreach (explode(",", ARTICLE_BUTTON_PLUGINS) as $p) {
- $jsf = "js/${p}_button.js";
+ $jsf = "js/".trim($p)."_button.js";
if (file_exists($jsf)) {
include $jsf;
}