Fix PHP notice

This commit is contained in:
Lukas Reschke 2012-10-16 00:34:39 +02:00
parent 097f429816
commit 1a187d1ca5
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}