Update system/libraries/Zip.php
diff --git a/system/libraries/Zip.php b/system/libraries/Zip.php
index ef6c3e5..2fc30e4 100644
--- a/system/libraries/Zip.php
+++ b/system/libraries/Zip.php
@@ -100,7 +100,7 @@
 	function _get_mod_time($dir)
 	{
 		// filemtime() may return false, but raises an error for non-existing files
-		$date = (file_exists($dir) && filemtime($dir)) ? filemtime($dir) : getdate($this->now);
+		$date = (file_exists($dir) && $filemtime = filemtime($dir)) ? $filemtime : getdate($this->now);
 
 		$time['file_mtime'] = ($date['hours'] << 11) + ($date['minutes'] << 5) + $date['seconds'] / 2;
 		$time['file_mdate'] = (($date['year'] - 1980) << 9) + ($date['mon'] << 5) + $date['mday'];