Update bridges.php

This commit is contained in:
FusionPBX 2019-09-19 08:59:00 -06:00 committed by GitHub
parent 846fc3db83
commit b86a89829a
1 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,10 @@ if (!class_exists('bridges')) {
public function delete($bridges) {
if (permission_exists('bridge_delete')) {
//add multi-lingual support
$language = new text;
$text = $language->get();
//validate the token
$token = new token;
if (!$token->validate($_SERVER['PHP_SELF'])) {