Changeset 630


Ignore:
Timestamp:
Jan 3, 2014, 10:41:52 AM (11 years ago)
Author:
chronos
Message:
  • Opraveno: Chybové hlášení při neaktivní volbě Zůstat přihlášen.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/Version.php

    r628 r630  
    11<?php
    22
    3 $Revision = 628; // Subversion revision
     3$Revision = 630; // Subversion revision
    44$DatabaseRevision = 627; // SQL structure revision
    5 $ReleaseTime = mktime(0, 0, 0, 1, 2, 2014);
     5$ReleaseTime = mktime(0, 0, 0, 2, 2, 2014);
  • trunk/Modules/Portal/Portal.php

    r619 r630  
    243243          $Form->SetClass('UserLogin');
    244244          $Form->OnSubmit = '?Action=Login';
    245           if($_POST['StayLogged'] == 0) $StayLogged = true;
     245          if(array_key_exists('StayLogged', $_POST) and ($_POST['StayLogged'] == 'on')) $StayLogged = true;
    246246            else $StayLogged = false;         
    247247          $Result = $this->System->User->Login($_POST['Username'], $_POST['Password'], $StayLogged);
Note: See TracChangeset for help on using the changeset viewer.