From d9da11ef4b41dd820e9e45d470df80540c2fa87c Mon Sep 17 00:00:00 2001 From: Martin Ambrus Date: Thu, 2 Nov 2017 00:53:46 +0100 Subject: [PATCH] fix: don't show errors and fix that empty value --- Templates/Build/26.tpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Templates/Build/26.tpl b/Templates/Build/26.tpl index 6d44051f..dbc3107c 100644 --- a/Templates/Build/26.tpl +++ b/Templates/Build/26.tpl @@ -1,6 +1,5 @@ 5) { +if(time() - (!empty($_SESSION['time_p']) ? $_SESSION['time_p'] : 0) > 5) { $_SESSION['time_p'] = ''; $_SESSION['error_p'] = ''; }