Update user_edit.php

This commit is contained in:
FusionPBX 2018-08-28 18:46:59 -06:00 committed by GitHub
parent b4fafadc64
commit 6e4e9ec9d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -841,7 +841,7 @@ if (count($_POST) > 0 && $_POST["persistform"] != "1") {
echo "<input type='hidden' name='domain_uuid' value='".escape($domain_uuid)."'>";
}
if (file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/api/app_config.php')) {
if (permission_exists('api_key')) {
echo " <tr>";
echo " <td class='vncell' valign='top'>".$text['label-api_key']."</td>";
echo " <td class='vtable'>\n";