From 083d7980e26a2267d7c52c08ec1b236b8169964c 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 3c3c36442..5f8da3c5b 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1405,7 +1405,7 @@ if (typeof(window.parent) != 'undefined' } $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); }