Revision 8347a623
Added by Marc Dequènes over 14 years ago
- ID 8347a6232895a0b54db575b002b3e2598cdf2764
lib/cyborghood/command_runner.rb | ||
---|---|---|
|
||
return if cmdline.empty?
|
||
content_ref = cmdline.shift
|
||
part = shared_parameters[content_ref]
|
||
unless part.type == "text/plain"
|
||
ref, part = Order.dereference_param(shared_parameters, content_ref)
|
||
unless part.content_type == "text/plain"
|
||
result.message = _("Attachment has wrong content-type.")
|
||
return result
|
||
end
|
Also available in: Unified diff
[fix] Order management was broken #2