Changeset 643

Show
Ignore:
Timestamp:
05/29/05 00:11:08 (3 years ago)
Author:
fproulx
Message:

2005-05-29 Francois Proulx <francois.proulx@gmail.com>

  • Missing null check in validate.php
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wifidog-auth/ChangeLog

    r642 r643  
     12005-05-29 Francois Proulx <francois.proulx@gmail.com> 
     2        * Missing null check in validate.php 
     3         
    142005-05-27 Francois Proulx <francois.proulx@gmail.com> 
    25        * Changed the signup process to make it smoother for users 
  • trunk/wifidog-auth/wifidog/validate.php

    r642 r643  
    5050    // Try to current physical node:  if possible it will regenerate the session accordingly with the connection token.  
    5151    $current_user_node = Node::getCurrentRealNode(); 
    52     $gw_id = $session->set(SESS_GW_ID_VAR, $current_user_node->getId()); 
     52    if($current_user_node) 
     53                $gw_id = $session->set(SESS_GW_ID_VAR, $current_user_node->getId()); 
    5354     
    5455    // Show activation message