Skip to content

Commit

Permalink
Merge pull request #585 from Alexandr-logrus/alpha
Browse files Browse the repository at this point in the history
Update terminals.class.php
  • Loading branch information
sergejey committed Jul 14, 2019
2 parents 3bd8985 + 5034319 commit ae2f1e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/terminals/terminals.class.php
Expand Up @@ -259,7 +259,7 @@ function terminalSay($terminal_rec, $message, $level)
function processSubscription($event, $details = '') function processSubscription($event, $details = '')
{ {
$this->getConfig(); $this->getConfig();
DebMes("Processing $event: " . json_encode($details), 'terminals'); DebMes("Processing $event: " . json_encode($details, JSON_UNESCAPED_UNICODE), 'terminals');
if ($event == 'SAY') { if ($event == 'SAY') {
$terminals = SQLSelect("SELECT * FROM terminals WHERE CANTTS=1 AND TTS_TYPE!=''"); $terminals = SQLSelect("SELECT * FROM terminals WHERE CANTTS=1 AND TTS_TYPE!=''");
foreach ($terminals as $terminal_rec) { foreach ($terminals as $terminal_rec) {
Expand Down

0 comments on commit ae2f1e9

Please sign in to comment.