summaryrefslogtreecommitdiff
path: root/zipstream.php
diff options
context:
space:
mode:
authorpabs <pabs@pablotron.org>2007-08-23 02:13:50 -0400
committerpabs <pabs@pablotron.org>2007-08-23 02:13:50 -0400
commit5440a7cbdfbd3325376534395937fb0d5b7bb351 (patch)
treeb2b70a09fcf9fd3259cea29f8f833b245210a3b4 /zipstream.php
parent5afdcdca7cbb743f264081bd5a509fcc051c336e (diff)
downloadzipstream-php-5440a7cbdfbd3325376534395937fb0d5b7bb351.tar.bz2
zipstream-php-5440a7cbdfbd3325376534395937fb0d5b7bb351.zip
$date => $d.
Diffstat (limited to 'zipstream.php')
-rw-r--r--zipstream.php2
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) |