]> source.dussan.org Git - redmine.git/commitdiff
remove trailing white-space from app/models/issue_custom_field.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 16 Sep 2014 02:54:12 +0000 (02:54 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 16 Sep 2014 02:54:12 +0000 (02:54 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13410 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/issue_custom_field.rb

index 16cb83e737622c852ae91d0cce015239859881c0..a1d16333d48a99825d2d396eccba2259518130ca 100644 (file)
@@ -32,7 +32,7 @@ class IssueCustomField < CustomField
     sql = super
     id_column ||= id
     tracker_condition = "#{Issue.table_name}.tracker_id IN (SELECT tracker_id FROM #{table_name_prefix}custom_fields_trackers#{table_name_suffix} WHERE custom_field_id = #{id_column})"
-    project_condition = "EXISTS (SELECT 1 FROM #{CustomField.table_name} ifa WHERE ifa.is_for_all = #{connection.quoted_true} AND ifa.id = #{id_column})" + 
+    project_condition = "EXISTS (SELECT 1 FROM #{CustomField.table_name} ifa WHERE ifa.is_for_all = #{connection.quoted_true} AND ifa.id = #{id_column})" +
       " OR #{Issue.table_name}.project_id IN (SELECT project_id FROM #{table_name_prefix}custom_fields_projects#{table_name_suffix} WHERE custom_field_id = #{id_column})"
 
     "((#{sql}) AND (#{tracker_condition}) AND (#{project_condition}))"