@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | 'minus' => '-', |
130 | 130 | 'space' => ' ', |
131 | 131 | 'angle' => '-', |
132 | - 'medium' => '|-', ); |
|
132 | + 'medium' => '|-',); |
|
133 | 133 | |
134 | 134 | /** |
135 | 135 | * Constructor. |
@@ -238,9 +238,9 @@ discard block |
||
238 | 238 | if ($result) { |
239 | 239 | while ($row = $this->_config->getDb()->fetchArray($result)) { |
240 | 240 | $this->categoryName[$row['id']] = $row; |
241 | - $this->categories[] =& $this->categoryName[$row['id']]; |
|
242 | - $this->children[$row['parent_id']][$row['id']] =& $this->categoryName[$row['id']]; |
|
243 | - $this->owner[$row['id']] =& $row['user_id']; |
|
241 | + $this->categories[] = & $this->categoryName[$row['id']]; |
|
242 | + $this->children[$row['parent_id']][$row['id']] = & $this->categoryName[$row['id']]; |
|
243 | + $this->owner[$row['id']] = & $row['user_id']; |
|
244 | 244 | } |
245 | 245 | } |
246 | 246 | |
@@ -345,7 +345,7 @@ discard block |
||
345 | 345 | $result = $this->_config->getDb()->query($query); |
346 | 346 | |
347 | 347 | while ($row = $this->_config->getDb()->fetchArray($result)) { |
348 | - $categories[] = (int) $row['id']; |
|
348 | + $categories[] = (int)$row['id']; |
|
349 | 349 | } |
350 | 350 | |
351 | 351 | return $categories; |
@@ -665,7 +665,7 @@ discard block |
||
665 | 665 | $open = 0; |
666 | 666 | $this->expandAll(); |
667 | 667 | |
668 | - for ($y = 0;$y < $this->height(); $y = $this->getNextLineTree($y)) { |
|
668 | + for ($y = 0; $y < $this->height(); $y = $this->getNextLineTree($y)) { |
|
669 | 669 | list($hasChild, $categoryName, $parent, $description) = $this->getLineDisplay($y); |
670 | 670 | $level = $this->treeTab[$y]['level']; |
671 | 671 | $levelDiff = $open - $level; |
@@ -940,7 +940,7 @@ discard block |
||
940 | 940 | while ($row = $this->_config->getDb()->fetchObject($result)) { |
941 | 941 | $categories[$row->category_id] = array( |
942 | 942 | 'category_id' => $row->category_id, |
943 | - 'category_lang' => $row->category_lang, ); |
|
943 | + 'category_lang' => $row->category_lang,); |
|
944 | 944 | } |
945 | 945 | |
946 | 946 | return $categories; |
@@ -1244,7 +1244,7 @@ discard block |
||
1244 | 1244 | array('faqcategories' => 'parent_id'), |
1245 | 1245 | array('faqcategoryrelations' => 'category_id'), |
1246 | 1246 | array('faqcategory_group' => 'category_id'), |
1247 | - array('faqcategory_user' => 'category_id'), ); |
|
1247 | + array('faqcategory_user' => 'category_id'),); |
|
1248 | 1248 | |
1249 | 1249 | $result = true; |
1250 | 1250 | foreach ($tables as $pair) { |
@@ -1438,7 +1438,7 @@ discard block |
||
1438 | 1438 | if ($lang == $selected_lang) { |
1439 | 1439 | $output .= ' selected="selected"'; |
1440 | 1440 | } |
1441 | - $output .= '>'.$langname."</option>\n"; |
|
1441 | + $output .= '>'.$langname."</option>\n"; |
|
1442 | 1442 | } |
1443 | 1443 | } |
1444 | 1444 |