diff --git a/application/forms.class.inc.php b/application/forms.class.inc.php
index 890475e4f..f0bb3830b 100644
--- a/application/forms.class.inc.php
+++ b/application/forms.class.inc.php
@@ -347,6 +347,7 @@ EOF
{
$oPage->add('
');
}
+ $oPage->add('');
$this->Render($oPage);
$oPage->add('');
diff --git a/tests/php-unit-tests/legacy-tests/test.class.inc.php b/tests/php-unit-tests/legacy-tests/test.class.inc.php
index fb29aac13..e126d2da0 100644
--- a/tests/php-unit-tests/legacy-tests/test.class.inc.php
+++ b/tests/php-unit-tests/legacy-tests/test.class.inc.php
@@ -179,14 +179,14 @@ abstract class TestHandler
}
catch (CoreException $e)
{
- //$this->ReportError($e->getMessage());
- //$this->ReportError($e->__tostring());
+ //$this->ReportErrors($e->getMessage());
+ //$this->ReportErrors($e->__tostring());
$this->ReportError($e->getMessage().' - '.$e->getTraceAsHtml());
}
catch (Exception $e)
{
- //$this->ReportError($e->getMessage());
- //$this->ReportError($e->__tostring());
+ //$this->ReportErrors($e->getMessage());
+ //$this->ReportErrors($e->__tostring());
$this->ReportError('class '.get_class($e).' --- '.$e->getMessage().' - '.$e->getTraceAsString());
}
restore_error_handler();
diff --git a/tests/php-unit-tests/legacy-tests/testlist.inc.php b/tests/php-unit-tests/legacy-tests/testlist.inc.php
index d6b40cea9..f7f8a4d66 100644
--- a/tests/php-unit-tests/legacy-tests/testlist.inc.php
+++ b/tests/php-unit-tests/legacy-tests/testlist.inc.php
@@ -397,7 +397,7 @@ class TestMyBizModel extends TestBizModel
protected function DoExecute()
{
-// $this->ReportError("Found two different OQL expression out of the (same?) filter: $sExpr1 != $sExpr2");
+// $this->ReportErrors("Found two different OQL expression out of the (same?) filter: $sExpr1 != $sExpr2");
// $this->ReportSuccess('Found '.$oSet->Count()." objects of class $sClassName");
//$this->test_linksinfo();
//$this->test_list_attributes();