We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a424a8 commit c51c19cCopy full SHA for c51c19c
modules/auxiliary/admin/http/wp_custom_contact_forms.rb
@@ -55,7 +55,7 @@ def get_table_prefix
55
return nil if res_file.nil? || res_file.code != 200 || res_file.body.nil?
56
57
match = res_file.body.match(/insert into `(.+_)customcontactforms_fields`/i)
58
- return nil if match.nil? || match.length == 0
+ return nil if match.nil? || match.length < 2
59
60
table_prefix = match[1]
61
table_prefix
0 commit comments