diff options
Diffstat (limited to 'views/installation/input')
-rw-r--r-- | views/installation/input/button.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/views/installation/input/button.php b/views/installation/input/button.php index 76cf5afa1..6704fa8c5 100644 --- a/views/installation/input/button.php +++ b/views/installation/input/button.php @@ -15,8 +15,6 @@ * */ -global $CONFIG; - $class = $vars['class']; if (!$class) { $class = "elgg-submit-button"; @@ -44,7 +42,7 @@ $value = htmlentities($vars['value'], ENT_QUOTES, 'UTF-8'); $name = $vars['internalname']; $src = $vars['src']; // blank src if trying to access an offsite image. -if (strpos($src,elgg_get_site_url())===false) { +if (strpos($src, elgg_get_site_url()) === false) { $src = ""; } ?> |