Skip to content

Commit c51c19c

Browse files
committed
bugfix
1 parent 9a424a8 commit c51c19c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/admin/http/wp_custom_contact_forms.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def get_table_prefix
5555
return nil if res_file.nil? || res_file.code != 200 || res_file.body.nil?
5656

5757
match = res_file.body.match(/insert into `(.+_)customcontactforms_fields`/i)
58-
return nil if match.nil? || match.length == 0
58+
return nil if match.nil? || match.length < 2
5959

6060
table_prefix = match[1]
6161
table_prefix

0 commit comments

Comments
 (0)