Project

General

Profile

Error in Redmine Inline Attach Screenshot

Added by Jan Niggemann (redmine.org team member) over 11 years ago

Sindce 0.4.4, README.rdoc reads: "Wiki support stripped from versions < 1.3 to prevent errors."

app/views/attachments/_form.html.erb:

currItem = @issue
    if Redmine::VERSION::MAJOR >= 2 or
        (Redmine::VERSION::MAJOR == 1 and Redmine::VERSION::MINOR < 3) then
        currItem ||= @wiki
    end

I still use 0.4.3, but is this correct? Wouldn't this strip wiki support for versions < 1.3 AND >= 2.x?