Skip to content

Commit

Permalink
make travis happy with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
alikon committed Feb 26, 2015
1 parent 3062aa3 commit 8891ac1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion administrator/components/com_modules/models/modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ protected function getListQuery()
$query->where('a.id = ' . (int) substr($search, 3));
}
else
{
{
$search = $db->quote('%' . strtolower($search) . '%');
$query->where('(' . ' LOWER(a.title) LIKE ' . $search . ' OR LOWER(a.note) LIKE ' . $search . ')');
}
Expand Down
2 changes: 1 addition & 1 deletion administrator/components/com_templates/models/styles.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ protected function getListQuery()
$query->where('a.id = ' . (int) substr($search, 3));
}
else
{
{
$search = $db->quote('%' . strtolower($search) . '%');
$query->where('(' . ' LOWER(a.template) LIKE ' . $search . ' OR LOWER(a.title) LIKE ' . $search . ')');
}
Expand Down

0 comments on commit 8891ac1

Please sign in to comment.