Index: trunk/kernel/include/parseditem.php =================================================================== diff -u -r422 -r446 --- trunk/kernel/include/parseditem.php (.../parseditem.php) (revision 422) +++ trunk/kernel/include/parseditem.php (.../parseditem.php) (revision 446) @@ -996,8 +996,11 @@ if ($result === false) { $Errors->AddError("error.DatabaseError",NULL,$this->adodbConnection->ErrorMsg(),"",get_class($this),"Query_Item"); - echo '

'.$sql.'

'; - echo "Error: ".$this->adodbConnection->ErrorMsg()."
"; + if($this->debuglevel) { + echo '

'.$sql.'

'; + echo "Error: ".$this->adodbConnection->ErrorMsg()."
"; + } + $this->Clear(); return false; }