Giancarlo Voci 7 years ago
parent
commit
322ab54378
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/OpenMind/FindBox/FindBoxService.php

+ 1 - 1
src/OpenMind/FindBox/FindBoxService.php

@@ -336,7 +336,7 @@ class FindBoxService
 
 
 					case QueueCommand::$Q_DISPLAY:
 					case QueueCommand::$Q_DISPLAY:
 						$this->ServiceLogger->write("Change display for label {$clientCommands->id[0]} requested", 'd/m/Y H:i:s');
 						$this->ServiceLogger->write("Change display for label {$clientCommands->id[0]} requested", 'd/m/Y H:i:s');
-						$esl = new SmartESL($this->findBoxCore, $clientCommands->id[0]);
+						$esl = new SmartESL($this->findBoxCore, $clientCommands->id);
 						$esl->Display($clientCommands->params['templateId'], $clientCommands->params['barcode']);
 						$esl->Display($clientCommands->params['templateId'], $clientCommands->params['barcode']);
 						break;
 						break;
 				}
 				}