[chora] Bug in CVSLib/Directory.php:38

Sebastian Bergmann sb at sebastian-bergmann.de
Fri Aug 29 00:31:28 PDT 2003


  In CVSLib/Directory.php:38 a variable $rp is accessed that is not
  declared

    34     function CVSLib_Directory($dn, $pn = '')
    35     {
    36         $this->parent = &$pn;
    37         $this->moduleName = $dn;
    38         $this->dirName = $rp->sourceroot() . "/$dn";

  which, of course, results in a

    Fatal error: Call to a member function on a non-object in
    /home/httpd/htdocs/horde/chora/lib/CVSLib/Directory.php on line 38

-- 
Sebastian Bergmann
http://sebastian-bergmann.de/                   http://phpOpenTracker.de/

Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/



More information about the chora mailing list