Changeset 1561 in ExiteCMS for trunk/modules/user_info_panel/user_info_panel.php
- Timestamp:
- 07/31/08 09:48:00 (4 years ago)
- File:
-
- 1 edited
-
trunk/modules/user_info_panel/user_info_panel.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/user_info_panel/user_info_panel.php
r1559 r1561 74 74 $variables['auth_state'] = array(); 75 75 foreach($variables['auth_methods'] as $key => $method) { 76 $variables['auth_state'][] = isset($_SESSION['box_login'.$key]) && $_SESSION['box_login'.$key] == 0; 76 if (isset($_SESSION['box_login'.$key])) { 77 $variables['auth_state'][] = $_SESSION['box_login'.$key] == 0 ? 1 : 0; 78 } else { 79 $variables['auth_state'][] = 1; 80 } 77 81 } 78 82
Note: See TracChangeset
for help on using the changeset viewer.
