diff --git a/lib/parsers/parser_front_end.rb b/lib/parsers/parser_front_end.rb index 22c8b51e3..69d64432b 100644 --- a/lib/parsers/parser_front_end.rb +++ b/lib/parsers/parser_front_end.rb @@ -47,7 +47,7 @@ module ParserFrontEnd ret = '' part = PagePart.find(front['part_id']) if front['part_id'] ret << eval("\"#{front['path']}\"") rescue '' - ret << (ret.include?("?") ? "&#{args.to_param}" : "?#{args.to_param}") if args + ret << (ret.include?("?") ? "&#{args.to_param}" : "?#{args.to_param}") unless args.nil? fragment = Nokogiri::HTML::DocumentFragment.new(body, "
") end front.swap(fragment)