From 6bc959283f2f7ee47f80a69d7fb3e21bf8ed1dd2 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 24 Jun 2007 10:14:08 +0000 Subject: [PATCH] when saving an edit with a field of more than 1000 characters, constant PMA_QUERY_TOO_BIG is already defined --- libraries/common.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 7a75fc2a8..0cbbad5c7 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1046,7 +1046,7 @@ function PMA_showMessage($message, $sql_query = null) } $max_characters = 1000; - if (strlen($query_base) > $max_characters) { + if (! defined('PMA_QUERY_TOO_BIG') && strlen($query_base) > $max_characters) { define('PMA_QUERY_TOO_BIG',1); }