From: cash Date: Mon, 22 Feb 2010 13:03:35 +0000 (+0000) Subject: Fixes #1541: javascript now correctly included in output/url view X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=999909a52579a31ee732857a7c7ea44a8762e206;p=lorea%2Felgg.git Fixes #1541: javascript now correctly included in output/url view git-svn-id: http://code.elgg.org/elgg/trunk@3964 36083f99-b078-4883-b0ff-0f9b5a30f544 --- 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 "$text"; -} \ No newline at end of file +}