small fix to make it run on my server

This commit is contained in:
Quitta 2013-07-14 03:05:13 +02:00
parent c912daecae
commit 34c688ee27

View file

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