small fix to make it run on my server

--HG--
branch : quitta-gsoc-2013
This commit is contained in:
Quitta 2013-07-14 03:05:13 +02:00
parent 6f43d4f003
commit 16de8b0f3b

View file

@ -46,8 +46,7 @@ class Gui_Elements{
public static function time_elapsed_string($ptime){
$ttime = new DateTime($ptime);
$ptime = $ttime->getTimestamp();
$ptime = strtotime($ptime);
$etime = time() - $ptime;