sukima / redmine_equipment_status_viewer

Redmine plugin: Allows admins to make a list of equipment and track if they are inservice or not
http://sukima.github.com/redmine_equipment_status_viewer/
GNU General Public License v3.0
33 stars 21 forks source link

Fix exception in helper on asset check in via mobile. #65

Closed nning closed 10 years ago

nning commented 10 years ago

On an instance of redmine at a job of mine with current plugin version, an exception was raised when requesting /equipment_assets/3/asset_check_ins/new via mobile: https://gist.github.com/49429169c688c3033771

I did a quick fix for this without really understanding, why options[:pos][0] is Fixnum, here, but I think, this not breaking anything.

sukima commented 10 years ago

I don't know either. But, looks good enough to :shipit: