Show
Ignore:
Timestamp:
02/16/07 09:07:39 (2 years ago)
Author:
mrook
Message:

Fix semantical error in PhingFile::getParent() (closes issue #73, thanks Micha)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.2/classes/phing/system/io/PhingFile.php

    r1 r163  
    167167        $index = ((($res = strrpos($this->path, self::$separator)) === false) ? -1 : $res); 
    168168        if ($index < $this->prefixLength) { 
    169             if (($this->prefixLength > 0) && (strlen($this->path > $this->prefixLength))) { 
     169            if (($this->prefixLength > 0) && (strlen($this->path) > $this->prefixLength)) { 
    170170                return substr($this->path, 0, $this->prefixLength); 
    171171            }