From e932bef03141de219697486754c88791b00e553d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 9 Sep 2013 17:50:42 +0200 Subject: [PATCH] Fix: Bug with php 5.4 --- test/phpunit/PdfDocTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/test/phpunit/PdfDocTest.php b/test/phpunit/PdfDocTest.php index dd08b18ca07..c119f1a4ec6 100755 --- a/test/phpunit/PdfDocTest.php +++ b/test/phpunit/PdfDocTest.php @@ -132,6 +132,7 @@ class PdfDocTest extends PHPUnit_Framework_TestCase $localobject=new Facture($this->savdb); $localobject->initAsSpecimen(); $localobject->lines=array(); + $localobject->lines[0]=new FactureLigne($this->savdb); $localobject->lines[0]->fk_product=1; $localobject->lines[0]->label='Label 1'; $localobject->lines[0]->desc="This is a description with a é accent\n(Country of origin: France)";