Skip to content

Commit 712d7e4

Browse files
committed
Fix typo in file length comparison
1 parent 68ca63f commit 712d7e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PEAR/PackageFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ function &fromTgzFile($file, $state)
315315
}
316316

317317
if (!is_array($content)) {
318-
if (is_string($file) && strlen($file < 255) &&
318+
if (is_string($file) && strlen($file) < 255 &&
319319
(!file_exists($file) || !@is_file($file))) {
320320
$ret = PEAR::raiseError("could not open file \"$file\"");
321321
return $ret;

0 commit comments

Comments
 (0)