From b252d0f88de1b1668c728572d8745dcfa201b35f Mon Sep 17 00:00:00 2001 From: taggon Date: Tue, 26 Oct 2010 15:13:11 +0000 Subject: [PATCH] =?UTF-8?q?#19003779=20=EC=97=90=EB=9F=AC=EA=B0=80=20?= =?UTF-8?q?=EB=B0=9C=EC=83=9D=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7772 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- common/script.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/script.php b/common/script.php index b27c7977b..b0c26fec0 100644 --- a/common/script.php +++ b/common/script.php @@ -53,7 +53,7 @@ function getMtime($file){ function getMaxMtime($list){ $mtime = array(); foreach($list as $file) $mtime[] = getMtime($file); - return max($mtime); + return count($mtime)?max($mtime):0; } // check