diff --git a/ChangeLog b/ChangeLog index 0db14ff6e..c94e25b51 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ $Source$ 2004-03-18 Marc Delisle * lang/romanian: Updated, thanks to Valics Lehel. + * libraries/common.lib.php: bug 913704, delete link in db search 2004-03-13 Marc Delisle * sql.php: bug 913630: did not detect correctly DELETE FROM table diff --git a/libraries/common.lib.php b/libraries/common.lib.php index f1516e22f..e9994284e 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1712,7 +1712,8 @@ if (typeof(document.getElementById) != 'undefined' */ function PMA_linkOrButton($url, $message, $js_conf, $allow_button = TRUE) { - if (strlen($url) <= 2047) { + // previously the limit was set to 2047, it seems 1000 is better + if (strlen($url) <= 1000) { $onclick_url = (empty($js_conf) ? '' : ' onclick="return confirmLink(this, \'' . $js_conf . '\')"'); $link_or_button = ' ' . "\n" . ' ' . $message . '' . "\n";