[ticket/558] Fix coding guidelines infractions

B3P-558
This commit is contained in:
Marc Alexander
2015-06-03 13:59:26 +02:00
parent 8cdf4a2161
commit 522b4d3087
16 changed files with 76 additions and 76 deletions

View File

@@ -340,7 +340,7 @@ function get_portal_tracking_info($fetch_news)
$db->sql_freeresult($result);
// @todo: do not use $current_forum here as this is already used by the outside foreach
foreach($forum_ids as $current_forum)
foreach ($forum_ids as $current_forum)
{
$user_lastmark[$current_forum] = (isset($mark_time[$current_forum])) ? $mark_time[$current_forum] : $user->data['user_lastmark'];
}
@@ -471,7 +471,7 @@ function get_user_groups()
WHERE user_id = ' . (int) $user->data['user_id'] . '
ORDER BY group_id ASC';
$result = $db->sql_query($sql);
while($row = $db->sql_fetchrow($result))
while ($row = $db->sql_fetchrow($result))
{
$groups_ary[] = $row['group_id'];
}

View File

@@ -109,7 +109,7 @@ class modules_helper
$forum_list = make_forum_select(false, false, true, true, true, false, true);
$selected_options = $select_ary = array();
if(isset($this->config[$key]) && strlen($this->config[$key]) > 0)
if (isset($this->config[$key]) && strlen($this->config[$key]) > 0)
{
$selected_options = explode(',', $this->config[$key]);
}