From 50f3088422d810795a444f8f131b6217bf4d9596 Mon Sep 17 00:00:00 2001 From: Olivier PEREZ Date: Fri, 29 May 2015 19:10:39 +0200 Subject: [PATCH] Little fix for previous merge --- adminstuds.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminstuds.php b/adminstuds.php index 701940b..14a1798 100644 --- a/adminstuds.php +++ b/adminstuds.php @@ -422,7 +422,7 @@ $smarty->assign('admin_poll_id', $admin_poll_id); $smarty->assign('poll', $poll); $smarty->assign('title', __('Generic', 'Poll') . ' - ' . $poll->title); $smarty->assign('expired', strtotime($poll->end_date) < time()); -$smarty->assign('deletion_date', $poll->end_date + PURGE_DELAY * 86400); +$smarty->assign('deletion_date', strtotime($poll->end_date) + PURGE_DELAY * 86400); $smarty->assign('slots', $poll->format === 'D' ? $pollService->splitSlots($slots) : $slots); $smarty->assign('votes', $pollService->splitVotes($votes)); $smarty->assign('best_choices', $pollService->computeBestChoices($votes));