OSDN Git Service
(root)
/
redminele
/
redmine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80acb00
)
Fixes Journal#save signature (#3014).
author
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Mon, 23 Mar 2009 17:18:04 +0000
(17:18 +0000)
committer
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Mon, 23 Mar 2009 17:18:04 +0000
(17:18 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2615
e93f8b46
-1217-0410-a6f0-
8f06a7374b81
app/models/journal.rb
patch
|
blob
|
history
diff --git
a/app/models/journal.rb
b/app/models/journal.rb
index
72e7eb9
..
a0e1ae8
100644
(file)
--- a/
app/models/journal.rb
+++ b/
app/models/journal.rb
@@
-38,7
+38,7
@@
class Journal < ActiveRecord::Base
:conditions => "#{Journal.table_name}.journalized_type = 'Issue' AND" +
" (#{JournalDetail.table_name}.prop_key = 'status_id' OR #{Journal.table_name}.notes <> '')"}
- def save
+ def save
(*args)
# Do not save an empty journal
(details.empty? && notes.blank?) ? false : super
end