Do not fail if parsing query has failed.

This commit is contained in:
Michal Čihař
2010-08-30 17:16:44 +02:00
parent 8ce53e5bc8
commit 68e1ff3798

View File

@@ -805,7 +805,7 @@ if (! defined('PMA_MINIMUM_COMMON')) {
*/
function PMA_SQP_analyze($arr)
{
if ($arr == array()) {
if ($arr == array() || !isset($arr['len'])) {
return array();
}
$result = array();