mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
fix quotes for postgresql. tested on sqlite but untested on mysql
This commit is contained in:
parent
7883145bdb
commit
d24d44da13
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ module TodosHelper
|
|||
end
|
||||
|
||||
def default_tags_for_autocomplete
|
||||
projects = current_user.projects.find(:all, :conditions => ['default_tags != ""'])
|
||||
projects = current_user.projects.find(:all, :conditions => ["default_tags != ''"])
|
||||
Hash[*projects.map{ |p| [p.name, p.default_tags] }.flatten].to_json
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue