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 046c133 commit d2e470fCopy full SHA for d2e470f
modules/auxiliary/admin/printer/escpos_tcp_command_injector.rb
@@ -47,7 +47,7 @@ def initialize(info = {})
47
48
def run
49
# Check if a message was provided by the user
50
- should_print_message = !datastore['MESSAGE'].to_s.empty?
+ should_print_message = !datastore['MESSAGE'].blank?
51
52
# Retrieve other options
53
trigger_drawer = datastore['TRIGGER_DRAWER']
0 commit comments