vikrambalye / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Writing 'Array' in the last page #311

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Render the PDF

What is the expected output? What do you see instead?
The DOMPDF is Writing the word 'Array' in the last page. I don't want this :(

What version of the product are you using? On what operating system?
I'm using 6.0 Beta2 on Windows 7 SP1

Please provide any additional information below.
The file is attached.

Original issue reported on code.google.com by cafe...@gmail.com on 24 Jun 2011 at 1:57

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry for my bad english :)

Original comment by cafe...@gmail.com on 24 Jun 2011 at 1:58

GoogleCodeExporter commented 9 years ago
If you look at your code, notice that the last line of the HTML document string 
ends with a concatenation character (a period) instead of a line ending (a 
semi-colon). This causes the $tamanho variable to be appended. Since $tamanho 
is an array, concatenating it will cause the text "Array" to appear.

Just fix that minor error and the issue should be resolved.

Original comment by eclecticgeek on 24 Jun 2011 at 2:55

GoogleCodeExporter commented 9 years ago
Thank you eclecticgeek! I really haven't saw this :D

Original comment by cafe...@gmail.com on 24 Jun 2011 at 3:23

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 30 May 2013 at 5:16