Skip to content

Commit

Permalink
fixed: notice in list model related to orderby
Browse files Browse the repository at this point in the history
  • Loading branch information
pollen8 committed Jan 29, 2014
1 parent d108ab9 commit 4f1490c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/com_fabrik/models/list.php
Expand Up @@ -2626,6 +2626,11 @@ public function buildQueryOrder($query = false)
{
$sig = $query ? 1 : 0;

if (!isset($this->orderBy))
{
$this->orderBy = array();
}

if (array_key_exists($sig, $this->orderBy))
{
return $this->orderBy[$sig];
Expand Down

0 comments on commit 4f1490c

Please sign in to comment.