aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/output/url.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/output/url.php b/views/default/output/url.php
index 7d993c49e..7319f6971 100644
--- a/views/default/output/url.php
+++ b/views/default/output/url.php
@@ -41,7 +41,7 @@ if (!empty($url)) {
}
if (array_key_exists('js', $vars) && $vars['js']) {
- $js = "{$vars['target']}";
+ $js = "{$vars['js']}";
} else {
$js = '';
}
@@ -53,4 +53,4 @@ if (!empty($url)) {
}
echo "<a href=\"{$url}\" $target $class $js>$text</a>";
-} \ No newline at end of file
+}