diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-10-16 00:34:39 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-10-16 00:47:38 +0200 |
commit | 1a187d1ca563607a537b837226eca42d51545c4a (patch) | |
tree | 3ee910c68e43b705c09450eb748253089f71bbfe | |
parent | 097f4298165a7d028757de61c6fef49f1f8f6a9a (diff) | |
download | nextcloud-server-1a187d1ca563607a537b837226eca42d51545c4a.tar.gz nextcloud-server-1a187d1ca563607a537b837226eca42d51545c4a.zip |
Fix PHP notice
-rwxr-xr-x | lib/util.php | 2 |
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(); } |