diff --git a/app/controllers/personal_books_controller.rb b/app/controllers/personal_books_controller.rb index ad86981..b06df85 100644 --- a/app/controllers/personal_books_controller.rb +++ b/app/controllers/personal_books_controller.rb @@ -118,7 +118,7 @@ class PersonalBooksController < ApplicationController 'url' => '/' + params[:locale] + params[:url], 'select_text' => select_text, 'search_text' => search_text, - 'search_value' => params[:keywords].gsub(/\"/,''), + 'search_value' => params[:keywords].to_s.gsub(/\"/,''), 'csrf_value' => csrf_value }, 'headers' => headers, 'total_pages' => books_total_pages,