Revision 1192
Added by Luisehahne almost 16 years ago
| class.login.php | ||
|---|---|---|
| 24 | 24 |
*/ |
| 25 | 25 |
|
| 26 | 26 |
/* |
| 27 |
* @category backend |
|
| 28 |
* @package Login class |
|
| 29 |
* @author(s) Dietmar W?llbrink <Luisehahne>, Dietrich Roland Pehlke <Aldus> |
|
| 30 |
* @platform WB 2.8.x |
|
| 31 |
* @require PHP 5.2.11 |
|
| 32 |
* @license http://www.gnu.org/licenses/gpl.html |
|
| 33 |
* @link http://project.websitebaker2.org/browser/branches/2.8.x/wb/pages |
|
| 34 |
* @changeset 2009/11/27 fixed parse error ticket #878 |
|
| 27 | 35 |
|
| 28 |
Login class |
|
| 29 | 36 |
|
| 37 |
|
|
| 30 | 38 |
This class will be used to with the login application |
| 31 | 39 |
|
| 32 | 40 |
*/ |
| ... | ... | |
| 229 | 237 |
$_SESSION['GROUP_NAME'] = array(); |
| 230 | 238 |
|
| 231 | 239 |
$first_group = true; |
| 232 |
foreach (explode("," $this->get_session('GROUPS_ID')) as $cur_group_id) {
|
|
| 240 |
foreach (explode(",", $this->get_session('GROUPS_ID')) as $cur_group_id)
|
|
| 241 |
{
|
|
| 233 | 242 |
$query = "SELECT * FROM ".$this->GROUPS_TABLE." WHERE group_id = '".$cur_group_id."'"; |
| 234 | 243 |
$results = $database->query($query); |
| 235 | 244 |
$results_array = $results->fetchRow(); |
Also available in: Unified diff
fixed parse error ticket #878