Fixed: wrong platform_arch_settings on /platforms/<>/edit page

This commit is contained in:
Vokhmin Alexey V 2013-09-09 14:33:34 +04:00
parent 87a1ad1d1b
commit c03b4aaab6
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ module PlatformsHelper
def platform_arch_settings(platform)
settings = platform.platform_arch_settings
arches = if arch_ids = settings.map(&:arch_id) && arch_ids.present?
arches = if (arch_ids = settings.map(&:arch_id)) && arch_ids.present?
Arch.where('id not in (?)', arch_ids)
else
Arch.all