Skip to content

Commit

Permalink
Some more codestyle changes after rebasing onto current codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
tkempf committed Mar 12, 2015
1 parent 5d927f0 commit cc08f65
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/com_finder/models/suggestions.php
Expand Up @@ -91,7 +91,7 @@ protected function getListQuery()
// We use the offset because each join needs a unique alias.
$query->join('LEFT', $db->quoteName('#__finder_links_terms' . dechex($i)) . ' AS lterms' . $i . ' ON lterms' . $i . '.term_id = t.term_id');
$linkjoin .= 'lterms' . $i . '.link_id=l.link_id';
if($i < 15)
if ($i < 15)
{
$linkjoin .= ' or ';
}
Expand All @@ -106,9 +106,9 @@ protected function getListQuery()

// Add the publish up and publish down filters.
$query->where('(' . $db->quoteName('l.publish_start_date') . ' = ' . $nullDate .
' OR ' . $db->quoteName('l.publish_start_date') . ' <= ' . $nowDate . ')')
->where('(' . $db->quoteName('l.publish_end_date') . ' = ' . $nullDate .
' OR ' . $db->quoteName('l.publish_end_date') . ' >= ' . $nowDate . ')');
' OR ' . $db->quoteName('l.publish_start_date') . ' <= ' . $nowDate . ')')
->where('(' . $db->quoteName('l.publish_end_date') . ' = ' . $nullDate .
' OR ' . $db->quoteName('l.publish_end_date') . ' >= ' . $nowDate . ')');

if (!is_null($request->get('f')))
{
Expand Down

0 comments on commit cc08f65

Please sign in to comment.