aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) |