mirror of
https://github.com/postalserver/postal.git
synced 2026-10-19 18:56:05 +00:00
style(rubocop): Lint/DuplicateBranch
This commit is contained in:
@@ -306,9 +306,7 @@ module Postal
|
||||
"1"
|
||||
elsif value == false
|
||||
"0"
|
||||
elsif value.nil?
|
||||
"NULL"
|
||||
elsif value.to_s.empty?
|
||||
elsif value.nil? || value.to_s.empty?
|
||||
"NULL"
|
||||
else
|
||||
"'" + mysql.escape(value.to_s) + "'"
|
||||
|
||||
Reference in New Issue
Block a user