Project

General

Profile

« Previous | Next » 

Revision 1192

Added by Dietmar over 14 years ago

fixed parse error ticket #878

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.1 -------------------------------------
14
27-Nov-2009 Dietmar Woellbrink (Luisehahne)
15
!	fixed parse error ticket #878 
14 16
26-Nov-2009 Dietmar Woellbrink (Luisehahne)
15 17
!	found and fix some deprecated functions
16 18
26-Nov-2009 Dietmar Woellbrink (Luisehahne)
branches/2.8.x/wb/framework/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