Fixed Bug in includes\ui\ui_controls.inc
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 2 Oct 2017 12:37:18 +0000 (14:37 +0200)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 2 Oct 2017 12:37:18 +0000 (14:37 +0200)
includes/ui/ui_controls.inc

index 67220fb046dd92ff39350a519aba6272638622a8..9dc24a4f4cb550d67bf1969fc51bbc78f2197d5e 100644 (file)
@@ -255,7 +255,7 @@ function viewer_link($label, $url='', $class='', $id='',  $icon=null)
                $pars = access_string($label);
                if (user_graphic_links() && $icon)
                        $pars[0] = set_icon($icon, $pars[0]);
--              $preview_str = "<a target='_blank' $class $id href='$path_to_root/$url' onclick=\"javascript:openWindow(this.href,this.target); return false;\"$pars[1]>$pars[0]</a>";
+               $preview_str = "<a target='_blank' $class $id href='$path_to_root/$url' onclick=\"javascript:openWindow(this.href,this.target); return false;\"$pars[1]>$pars[0]</a>";
        }
        else
                $preview_str = $label;