Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2012-01-19 23:44:10 +0400
committerValery Sizov <vsv2711@gmail.com>2012-01-19 23:44:10 +0400
commitfc36df92da61ff11def791023f894da0c8fec0b2 (patch)
treedab9b1d8e345ed2a1038d35f5d800a8b37de457e /app
parent9b6c9fe25389b2f4c4a3d0ca8f2b30991a4e2c30 (diff)
sql for mysql compatible
Diffstat (limited to 'app')
-rw-r--r--app/models/project.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index 6650ccba224..e1c66c95a23 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -171,7 +171,7 @@ class Project < ActiveRecord::Base
end
def commit_line_notes(commit)
- notes.where(:noteable_id => commit.id, :noteable_type => "Commit").where("line_code not null")
+ notes.where(:noteable_id => commit.id, :noteable_type => "Commit").where("line_code is not null")
end
def has_commits?