mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Ensure we initialise the position variable. See #5599 props codestyling.
git-svn-id: https://develop.svn.wordpress.org/trunk@8117 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -159,7 +159,8 @@ class CachedFileReader extends StringReader {
|
||||
return false;
|
||||
}
|
||||
$this->_str = fread($fd, $length);
|
||||
fclose($fd);
|
||||
$this->_pos = 0;
|
||||
fclose($fd);
|
||||
|
||||
} else {
|
||||
$this->error = 2; // File doesn't exist
|
||||
@@ -169,4 +170,4 @@ class CachedFileReader extends StringReader {
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user