Permalink
Browse files

More code quality

  • Loading branch information...
1 parent d76b746 commit 70dd6e98b8d0af26ca88c9332d57705dd0fa2d37 @infograf768 infograf768 committed Oct 14, 2012
Showing with 4 additions and 3 deletions.
  1. +3 −2 libraries/cms/html/category.php
  2. +1 −1 libraries/cms/menu/site.php
@@ -68,7 +68,7 @@ public static function options($extension, $config = array('filter.published' =>
}
}
- // filter on the language
+ // Filter on the language
if (isset($config['filter.language']))
{
if (is_string($config['filter.language']))
@@ -77,7 +77,8 @@ public static function options($extension, $config = array('filter.published' =>
}
elseif (is_array($config['filter.language']))
{
- foreach ($config['filter.language'] as &$language) {
+ foreach ($config['filter.language'] as &$language)
+ {
$language = $db->quote($language);
}
$query->where('a.language IN (' . implode(',', $config['filter.language']) . ')');
@@ -117,7 +117,7 @@ public function getItems($attributes, $values, $firstonly = false)
}
}
- // reset arrays or we get a notice if some values were unset
+ // Reset arrays or we get a notice if some values were unset
$attributes = array_values($attributes);
$values = array_values($values);

0 comments on commit 70dd6e9

Please sign in to comment.