Show
Ignore:
Timestamp:
02/04/10 16:20:28 (2 years ago)
Author:
gbastien
Message:

* First draft: nothing has changed so far, just the way tokens are generated from a template. Integration of the code by richard Jackson (#684). Not thoroughly tested though.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/newtoken/wifidog/classes/Authenticator.php

    r1419 r1445  
    147147  
    148148        foreach ($network_array as $network) { 
    149                 if ($network->getName() == $default_network) 
    150                         $default_network_param = $network->getId(); 
     149            if ($network->getName() == $default_network->getName()) { 
     150                $default_network_param = $network->getId(); 
     151            } 
    151152        } 
    152153        if (Server::getServer()->getUseGlobalUserAccounts())