icaine / php-mime-mail-parser

Automatically exported from code.google.com/p/php-mime-mail-parser
0 stars 0 forks source link

attachment.class.php: __get() cannot be private #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  Read attachment streams.

What is the expected output? What do you see instead?
I receive an error regarding a completely unrelated class.

What version of the product are you using? On what operating system?
R16, Fedora 10, PHP 5.3.2

Please provide any additional information below.
The problem is that in attachment.class.php, line 126, __get() is private.
For some reason this doesn't produce a parsing error, even though __get() 
cannot be private or static.

Fix:  s/private function __get/public function get/ in attachment.class.php

Original issue reported on code.google.com by dalij...@gmail.com on 3 Aug 2010 at 5:04

GoogleCodeExporter commented 9 years ago
I've committed the change. Thanks for the report.

Original comment by buca...@gmail.com on 13 Aug 2010 at 1:20