summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-10-16 00:34:39 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-10-16 00:47:38 +0200
commit1a187d1ca563607a537b837226eca42d51545c4a (patch)
tree3ee910c68e43b705c09450eb748253089f71bbfe
parent097f4298165a7d028757de61c6fef49f1f8f6a9a (diff)
downloadnextcloud-server-1a187d1ca563607a537b837226eca42d51545c4a.tar.gz
nextcloud-server-1a187d1ca563607a537b837226eca42d51545c4a.zip
Fix PHP notice
-rwxr-xr-xlib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index c6b164adbe8..db712627581 100755
--- a/lib/util.php
+++ b/lib/util.php
@@ -399,7 +399,7 @@ class OC_Util {
}
// Check if the user verified his password in the last 15 minutes
- if($_SESSION['verifiedLogin'] < time() OR !isset($_SESSION['verifiedLogin'])) {
+ if(!isset($_SESSION['verifiedLogin']) OR $_SESSION['verifiedLogin'] < time()) {
OC_Template::printGuestPage("", "verify", array('username' => OC_User::getUser()));
exit();
}