From 5440a7cbdfbd3325376534395937fb0d5b7bb351 Mon Sep 17 00:00:00 2001 From: pabs Date: Thu, 23 Aug 2007 02:13:50 -0400 Subject: $date => $d. --- zipstream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zipstream.php') 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) | -- cgit v1.2.3