Skip to content

Commit

Permalink
For Travis...
Browse files Browse the repository at this point in the history
  • Loading branch information
smz committed Dec 13, 2014
1 parent b678307 commit d9e2c0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/legacy/categories/categories.php
Expand Up @@ -267,12 +267,12 @@ protected function _load($id)

if ($this->_options['published'] == 1)
{
$queryjoin .= ' AND i.' . $this->_statefield . ' = 1';
$queryjoin .= ' AND i.' . $this->_statefield . ' = 1';
}

if ($this->_options['currentlang'] == 1)
{
$queryjoin .= ' AND (i.language = \'*\' OR i.language = ' . $db->quote(JFactory::getLanguage()->getTag()) . ')';
$queryjoin .= ' AND (i.language = \'*\' OR i.language = ' . $db->quote(JFactory::getLanguage()->getTag()) . ')';
}

$query->join('LEFT', $queryjoin);
Expand Down

0 comments on commit d9e2c0b

Please sign in to comment.