cvs: php-gcov-web(SOC06) /www site.api.php
| From: | Nuno Lopes | Date: | Thu, 07 Sep 2006 17:26:30 +0000 |
| Subject: | cvs: php-gcov-web(SOC06) /www site.api.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-32378@lists.php.net to get a copy of this message | ||
nlopess Thu Sep 7 17:26:30 2006 UTC
Modified files: (Branch: SOC06)
/php-gcov-web/www site.api.php
Log:
ups.. fix logic in time_diff()
http://cvs.php.net/viewvc.cgi/php-gcov-web/www/site.api.php?r1=1.1.2.8&r2=1.1.2.9&diff_format=u
Index: php-gcov-web/www/site.api.php
diff -u php-gcov-web/www/site.api.php:1.1.2.8 php-gcov-web/www/site.api.php:1.1.2.9
--- php-gcov-web/www/site.api.php:1.1.2.8 Thu Sep 7 17:04:36 2006
+++ php-gcov-web/www/site.api.php Thu Sep 7 17:26:30 2006
@@ -42,7 +42,7 @@
{
if ($abs) {
date_default_timezone_set('UTC');
- $time -= time();
+ $time = time() - $time;
}
if ($time < 60) {