diff options
author | pabs <pabs@pablotron.org> | 2007-08-23 02:13:50 -0400 |
---|---|---|
committer | pabs <pabs@pablotron.org> | 2007-08-23 02:13:50 -0400 |
commit | 5440a7cbdfbd3325376534395937fb0d5b7bb351 (patch) | |
tree | b2b70a09fcf9fd3259cea29f8f833b245210a3b4 | |
parent | 5afdcdca7cbb743f264081bd5a509fcc051c336e (diff) | |
download | zipstream-php-5440a7cbdfbd3325376534395937fb0d5b7bb351.tar.bz2 zipstream-php-5440a7cbdfbd3325376534395937fb0d5b7bb351.zip |
$date => $d.
-rw-r--r-- | zipstream.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zipstream.php b/zipstream.php index 29aa275..13f0245 100644 --- a/zipstream.php +++ b/zipstream.php @@ -205,7 +205,7 @@ class ZipStream { function dostime($when = 0) { $d = getdate($when); - if ($date['year'] < 1980) + if ($d['year'] < 1980) $d = array('year' => 1980, 'mon' => 1, 'mday' => 1, 'hours' => 0, 'minutes' => 0, 'seconds' => 0); return ($d['year'] << 25) | ($d['mon'] << 21) | ($d['mday'] << 16) | |