From 88ed8a0c1376fbe6d45059694ce31db597fde3e9 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 14 Apr 2020 11:10:59 -0400 Subject: ruby 2.7 fix --- lib/sisu/dp.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/sisu/dp.rb') diff --git a/lib/sisu/dp.rb b/lib/sisu/dp.rb index 522510ad..3c7b9203 100644 --- a/lib/sisu/dp.rb +++ b/lib/sisu/dp.rb @@ -1305,8 +1305,8 @@ module SiSU_Param end if @home_button_image \ and @home_button_image.is_a?(Hash) \ - and (@home_button_image =~@rgx_image \ - or @home_button_image =~/\S+?\.(?:jpg|png|gif)/) + and (@home_button_image[:home] =~@rgx_image \ + or @home_button_image[:home] =~/\S+?\.(?:jpg|png|gif)/) @ec[:image] << @home_button_image end if @ec[:image].length > 0 -- cgit v1.2.3