Changeset 1667 in ExiteCMS for trunk/includes/user_functions.php


Ignore:
Timestamp:
08/21/08 22:23:11 (4 years ago)
Author:
hverton
Message:

fixed to many records issue after an unlimited search\nfixed not able to login after v7.1 to v7.2 upgrade

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/user_functions.php

    r1635 r1667  
    5959if (isset($_POST['login'])) { 
    6060    $auth_result = false; 
    61     $auth_methods = explode(",",$settings['auth_type'].","); 
     61    $auth_methods = isset($settings['auth_type']) ? explode(",",$settings['auth_type'].",") : array('local'); 
    6262    foreach($auth_methods as $auth_method) { 
    6363        switch($auth_method) { 
Note: See TracChangeset for help on using the changeset viewer.