Bug #9050: Ignore return from Horde.popup()
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 20 May 2010 16:17:40 +0000 (10:17 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 20 May 2010 16:20:54 +0000 (10:20 -0600)
framework/Core/lib/Horde.php

index fae5115..17fb312 100644 (file)
@@ -1975,7 +1975,7 @@ HTML;
             $params->width = $options['width'];
         }
 
-        return 'Horde.popup(' . self::escapeJson($params, array('urlencode' => !empty($options['urlencode']))) . ');';
+        return 'void(Horde.popup(' . self::escapeJson($params, array('urlencode' => !empty($options['urlencode']))) . '));';
     }
 
     /**