From 81948764541de235f97e481544af29d78572061e Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 22 Jul 2016 16:03:57 -0400 Subject: [PATCH] always put popup links in a, even if it is disabled --- web/includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/includes/functions.php b/web/includes/functions.php index ac3484c9d..9a2060939 100644 --- a/web/includes/functions.php +++ b/web/includes/functions.php @@ -497,11 +497,11 @@ function makePopupLink( $url, $winName, $winSize, $label, $condition=1, $options $popupParms = "'".$url."', '".$winName."', '".$winSize."'"; $string .= ''; + } else { + $string .= ''; } $string .= $label; - if ( $condition ) { $string .= ''; - } return( $string ); }