Browse Source

Another $fp test fix (thanks Jan)

PEAR_1_4DEV
Tomas V.V.Cox 23 years ago
parent
commit
4fbae9a7d7
  1. 2
      pear/PEAR/Remote.php

2
pear/PEAR/Remote.php

@ -61,7 +61,7 @@ class PEAR_Remote extends PEAR
};
$fp = fopen($filename, 'rb');
if ($fp === null) {
if (!$fp) {
return null;
}
$content = fread($fp, filesize($filename));

Loading…
Cancel
Save