Browse Source

FIX: FindBoxService::Q_DISPLAY use array instead first string of array

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

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

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