Update exec.php

This commit is contained in:
FusionPBX 2019-08-30 01:43:37 -06:00 committed by GitHub
parent f04aaa2f13
commit 970a5094cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -416,7 +416,7 @@
</td>
</tr>
</table>
<div id='editor'><?php echo escape($command); ?></div>
<div id='editor'><?php echo $command; ?></div>
<?php
echo " </td>";
@ -485,7 +485,6 @@
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if ($fp) {
$result = event_socket_request($fp, 'api '.$command);
$result = htmlspecialchars(utf8_encode($result), ENT_QUOTES);
}
}
break;