@@ -215,7 +215,7 @@ discard block |
||
| 215 | 215 | } |
| 216 | 216 | |
| 217 | 217 | if (false !== $this->ldap->getDn($login)) { |
| 218 | - $this->activeServer = (int) $key; |
|
| 218 | + $this->activeServer = (int)$key; |
|
| 219 | 219 | break; |
| 220 | 220 | } |
| 221 | 221 | } |
@@ -251,7 +251,7 @@ discard block |
||
| 251 | 251 | htmlspecialchars_decode($password) |
| 252 | 252 | ); |
| 253 | 253 | |
| 254 | - if (! $this->ldap->bind($bindLogin, htmlspecialchars_decode($password))) { |
|
| 254 | + if (!$this->ldap->bind($bindLogin, htmlspecialchars_decode($password))) { |
|
| 255 | 255 | $this->errors[] = $this->ldap->error; |
| 256 | 256 | |
| 257 | 257 | return false; |
@@ -288,7 +288,7 @@ discard block |
||
| 288 | 288 | } |
| 289 | 289 | |
| 290 | 290 | if (false !== $this->ldap->getDn($login)) { |
| 291 | - $this->activeServer = (int) $key; |
|
| 291 | + $this->activeServer = (int)$key; |
|
| 292 | 292 | break; |
| 293 | 293 | } |
| 294 | 294 | } |
@@ -239,9 +239,9 @@ discard block |
||
| 239 | 239 | if ($result) { |
| 240 | 240 | while ($row = $this->_config->getDb()->fetchArray($result)) { |
| 241 | 241 | $this->categoryName[$row['id']] = $row; |
| 242 | - $this->categories[] =& $this->categoryName[$row['id']]; |
|
| 243 | - $this->children[$row['parent_id']][$row['id']] =& $this->categoryName[$row['id']]; |
|
| 244 | - $this->owner[$row['id']] =& $row['user_id']; |
|
| 242 | + $this->categories[] = & $this->categoryName[$row['id']]; |
|
| 243 | + $this->children[$row['parent_id']][$row['id']] = & $this->categoryName[$row['id']]; |
|
| 244 | + $this->owner[$row['id']] = & $row['user_id']; |
|
| 245 | 245 | } |
| 246 | 246 | } |
| 247 | 247 | |
@@ -346,7 +346,7 @@ discard block |
||
| 346 | 346 | $result = $this->_config->getDb()->query($query); |
| 347 | 347 | |
| 348 | 348 | while ($row = $this->_config->getDb()->fetchArray($result)) { |
| 349 | - $categories[] = (int) $row['id']; |
|
| 349 | + $categories[] = (int)$row['id']; |
|
| 350 | 350 | } |
| 351 | 351 | |
| 352 | 352 | return $categories; |
@@ -666,7 +666,7 @@ discard block |
||
| 666 | 666 | $open = 0; |
| 667 | 667 | $this->expandAll(); |
| 668 | 668 | |
| 669 | - for ($y = 0;$y < $this->height(); $y = $this->getNextLineTree($y)) { |
|
| 669 | + for ($y = 0; $y < $this->height(); $y = $this->getNextLineTree($y)) { |
|
| 670 | 670 | list($hasChild, $categoryName, $parent, $description) = $this->getLineDisplay($y); |
| 671 | 671 | $level = $this->treeTab[$y]['level']; |
| 672 | 672 | $levelDiff = $open - $level; |
@@ -941,7 +941,7 @@ discard block |
||
| 941 | 941 | while ($row = $this->_config->getDb()->fetchObject($result)) { |
| 942 | 942 | $categories[$row->category_id] = array( |
| 943 | 943 | 'category_id' => $row->category_id, |
| 944 | - 'category_lang' => $row->category_lang, ); |
|
| 944 | + 'category_lang' => $row->category_lang,); |
|
| 945 | 945 | } |
| 946 | 946 | |
| 947 | 947 | return $categories; |
@@ -1248,7 +1248,7 @@ discard block |
||
| 1248 | 1248 | array('faqcategories' => 'parent_id'), |
| 1249 | 1249 | array('faqcategoryrelations' => 'category_id'), |
| 1250 | 1250 | array('faqcategory_group' => 'category_id'), |
| 1251 | - array('faqcategory_user' => 'category_id'), ); |
|
| 1251 | + array('faqcategory_user' => 'category_id'),); |
|
| 1252 | 1252 | |
| 1253 | 1253 | $result = true; |
| 1254 | 1254 | foreach ($tables as $pair) { |
@@ -1442,7 +1442,7 @@ discard block |
||
| 1442 | 1442 | if ($lang == $selected_lang) { |
| 1443 | 1443 | $output .= ' selected="selected"'; |
| 1444 | 1444 | } |
| 1445 | - $output .= '>'.$langname."</option>\n"; |
|
| 1445 | + $output .= '>'.$langname."</option>\n"; |
|
| 1446 | 1446 | } |
| 1447 | 1447 | } |
| 1448 | 1448 | |