icaine / php-mime-mail-parser

Automatically exported from code.google.com/p/php-mime-mail-parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

GoogleCodeExporter opened this issue · comments

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

I've committed the change. Thanks for the report.

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

  • Changed state: Fixed