WordPress.org

Make WordPress Core

Changeset 8117


Ignore:
Timestamp:
06/18/2008 06:38:30 AM (11 years ago)
Author:
westi
Message:

Ensure we initialise the position variable. See #5599 props codestyling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/streams.php

    r6726 r8117  
    160160      }
    161161      $this->_str = fread($fd, $length);
    162       fclose($fd);
     162      $this->_pos = 0;
     163      fclose($fd);
    163164
    164165    } else {
Note: See TracChangeset for help on using the changeset viewer.