From: Frank Karlitschek Date: Wed, 13 Jun 2012 15:27:49 +0000 (+0200) Subject: fix time call X-Git-Tag: v4.5.0beta1~74^2~420^2~51 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9e9c40eabd07cc4b44f2a9ae3d7935ad2a07b9fa;p=nextcloud-server.git fix time call --- diff --git a/lib/util.php b/lib/util.php index d1d5983dcfb..e4efd953ec5 100755 --- a/lib/util.php +++ b/lib/util.php @@ -409,7 +409,7 @@ class OC_Util { // check if the token is in the user session and if the timestamp is from the last hour. if(isset($_SESSION['requesttoken-'.$token])) { $timestamp=$_SESSION['requesttoken-'.$token]; - if($timestamp+$maxtime