#240 Internal server error, redmine 2.5.1-devel.13064, PostgreSQL, dmsf 1.4.8-devel
This commit is contained in:
parent
920a0ca2f7
commit
13cc1b4bc2
@ -24,7 +24,7 @@ class DmsfLink < ActiveRecord::Base
|
||||
validates :name, :presence => true
|
||||
validates :target_id, :presence => true
|
||||
validates_length_of :name, :maximum => 255
|
||||
scope :visible, :conditions => 'deleted = 0'
|
||||
scope :visible, :conditions => ['deleted = ?', false]
|
||||
|
||||
def target_folder_id
|
||||
if self.target_type == DmsfFolder.model_name
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user