diff --git a/html/includes/functions.inc.php b/html/includes/functions.inc.php
index e0c25d212d..ddc3d62fe4 100644
--- a/html/includes/functions.inc.php
+++ b/html/includes/functions.inc.php
@@ -186,7 +186,7 @@ function overlib_link($url, $text, $contents, $class)
$contents = str_replace("\"", "\'", $contents);
$output = '";
+ $output .= " onmouseover=\"return overlib('".$contents."'".$config['overlib_defaults'].", WRAP,HAUTO,VAUTO);\" onmouseout=\"return nd();\">";
$output .= $text."";
return $output;