Home » File Formats » File_PDF » Bug #1768
Save does not work
Details
| Submitted | 2004-07-01 23:51 UTC |
|---|---|
| From | abdul at solary dot net |
| Assigned | yunosh |
| Status | Closed |
| Package | File_PDF |
| PHP Version | 4.3.7 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2004-07-01 23:51 UTC] abdul at solary dot net
Description:
------------
Save does not call close() as output() does.
Reproduce code:
---------------
save() lacks this from output(), put it before the _buffer is written. Sorry I don't know how to make diffs.
/* Check whether file has been closed. */
if ($this->_state < 3) {
$this->close();
}
Expected result:
----------------
The entire file is written.
Actual result:
--------------
Only the header is written.