Skip to content

Commit

Permalink
Merge branch '2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
amazeika committed Sep 16, 2015
2 parents 4d0df9e + 23c06b2 commit c4edb5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion koowa-component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<koowa-component>
<identifier>com:activities</identifier>
<name>activities</name>
<version>2.1.0</version>
<version>2.1.1</version>
</koowa-component>
2 changes: 1 addition & 1 deletion model/activities.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ protected function _buildQueryWhere(KDatabaseQueryInterface $query)
}
}

if ($state->user) {
if (is_numeric($state->user)) {
$query->where('tbl.created_by = :created_by')->bind(array('created_by' => $state->user));
}

Expand Down

0 comments on commit c4edb5f

Please sign in to comment.