From 0607579d06ca73d079f29a98b8a9ea841a24ef28 Mon Sep 17 00:00:00 2001 From: Zanz2 Date: Sat, 27 Jan 2018 14:57:07 +0100 Subject: [PATCH] Fixes the database error i was having on home machine too, wasnt exclusive to me --- app/helpers/protocols_io_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/protocols_io_helper.rb b/app/helpers/protocols_io_helper.rb index 83705de64..0dcc6ba17 100644 --- a/app/helpers/protocols_io_helper.rb +++ b/app/helpers/protocols_io_helper.rb @@ -34,7 +34,7 @@ module ProtocolsIoHelper # -- 0 big = PIO_TITLE_TOOLONG_LEN = - I18n.t('protocols.protocols_io_import.title_too_long').length + 2 + I18n.t('protocols.protocols_io_import.title_too_long').length + 5 PIO_STEP_TOOLONG_LEN = I18n.t('protocols.protocols_io_import.too_long').length # The + 2 above (in title) is there because if the length was at the limit,