Error in File class
| From: | LIMBOURG Arnaud | Date: | Wed, 10 Apr 2002 15:02:20 +0000 |
| Subject: | Error in File class | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-5306@lists.php.net to get a copy of this message | ||
Hello,
On line 150 of the File class (_getFilePointer method, the lock part at the
very end of the method) it is written
$locks = &PEAR::_getStaticProperty('File', 'locks');
It should be
$locks = &PEAR::getStaticProperty('File', 'locks');
Because the method in PEAR.php is named getStaticProperty.
Or PEAR.php has to be changed so the method reflects its private status.
Either way, one of both is not written the way it should ;))
Arnaud.