Use the conference_accountcode permission.

This commit is contained in:
FusionPBX 2021-12-01 22:51:07 -07:00 committed by GitHub
parent b802a28e07
commit 9c4826cc6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 11 deletions

View File

@ -187,7 +187,9 @@
if (permission_exists('conference_email_address')) {
$array['conferences'][0]['conference_email_address'] = $conference_email_address;
}
if (permission_exists('conference_accountcode')) {
$array['conferences'][0]['conference_accountcode'] = $conference_accountcode;
}
$array['conferences'][0]['conference_order'] = $conference_order;
$array['conferences'][0]['conference_description'] = $conference_description;
$array['conferences'][0]['conference_enabled'] = $conference_enabled;
@ -473,6 +475,7 @@
echo "</tr>\n";
}
if (permission_exists('conference_accountcode')) {
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-accountcode']."\n";
@ -483,6 +486,7 @@
echo "".$text['description-accountcode']."\n";
echo "</td>\n";
echo "</tr>\n";
}
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";