@@ -246,10 +246,10 @@ discard block |
||
246 | 246 | if ($result) { |
247 | 247 | while ($row = $this->_config->getDb()->fetchArray($result)) { |
248 | 248 | $this->categoryName[$row['id']] = $row; |
249 | - $this->categories[] =& $this->categoryName[$row['id']]; |
|
250 | - $this->children[$row['parent_id']][$row['id']] =& $this->categoryName[$row['id']]; |
|
251 | - $this->owner[$row['id']] =& $row['user_id']; |
|
252 | - $this->moderators[$row['id']] =& $row['group_id']; |
|
249 | + $this->categories[] = & $this->categoryName[$row['id']]; |
|
250 | + $this->children[$row['parent_id']][$row['id']] = & $this->categoryName[$row['id']]; |
|
251 | + $this->owner[$row['id']] = & $row['user_id']; |
|
252 | + $this->moderators[$row['id']] = & $row['group_id']; |
|
253 | 253 | } |
254 | 254 | } |
255 | 255 | |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | $result = $this->_config->getDb()->query($query); |
357 | 357 | |
358 | 358 | while ($row = $this->_config->getDb()->fetchArray($result)) { |
359 | - $categories[] = (int) $row['id']; |
|
359 | + $categories[] = (int)$row['id']; |
|
360 | 360 | } |
361 | 361 | |
362 | 362 | return $categories; |
@@ -676,7 +676,7 @@ discard block |
||
676 | 676 | $open = 0; |
677 | 677 | $this->expandAll(); |
678 | 678 | |
679 | - for ($y = 0;$y < $this->height(); $y = $this->getNextLineTree($y)) { |
|
679 | + for ($y = 0; $y < $this->height(); $y = $this->getNextLineTree($y)) { |
|
680 | 680 | list($hasChild, $categoryName, $parent, $description) = $this->getLineDisplay($y); |
681 | 681 | $level = $this->treeTab[$y]['level']; |
682 | 682 | $levelDiff = $open - $level; |
@@ -951,7 +951,7 @@ discard block |
||
951 | 951 | while ($row = $this->_config->getDb()->fetchObject($result)) { |
952 | 952 | $categories[$row->category_id] = array( |
953 | 953 | 'category_id' => $row->category_id, |
954 | - 'category_lang' => $row->category_lang, ); |
|
954 | + 'category_lang' => $row->category_lang,); |
|
955 | 955 | } |
956 | 956 | |
957 | 957 | return $categories; |
@@ -1254,7 +1254,7 @@ discard block |
||
1254 | 1254 | array('faqcategories' => 'parent_id'), |
1255 | 1255 | array('faqcategoryrelations' => 'category_id'), |
1256 | 1256 | array('faqcategory_group' => 'category_id'), |
1257 | - array('faqcategory_user' => 'category_id'), ); |
|
1257 | + array('faqcategory_user' => 'category_id'),); |
|
1258 | 1258 | |
1259 | 1259 | $result = true; |
1260 | 1260 | foreach ($tables as $pair) { |
@@ -1448,7 +1448,7 @@ discard block |
||
1448 | 1448 | if ($lang == $selected_lang) { |
1449 | 1449 | $output .= ' selected="selected"'; |
1450 | 1450 | } |
1451 | - $output .= '>'.$langname."</option>\n"; |
|
1451 | + $output .= '>'.$langname."</option>\n"; |
|
1452 | 1452 | } |
1453 | 1453 | } |
1454 | 1454 |