PMCORE-3377 An alert notice is displayed before creating a table

This commit is contained in:
Roly Gutierrez
2021-09-29 13:03:04 -04:00
parent 38f4bfb68f
commit 9886c0e141
2 changed files with 9 additions and 3 deletions

View File

@@ -785,6 +785,12 @@ class adminProxy extends HttpProxyController
$width = "100%";
$upload = new ReplacementLogo();
$aPhotoSelect = $upload->getNameLogo($_SESSION['USER_LOGGED']);
if (!is_array($aPhotoSelect)) {
$aPhotoSelect = [];
}
if (!isset($aPhotoSelect['DEFAULT_LOGO_NAME'])) {
$aPhotoSelect['DEFAULT_LOGO_NAME'] = '';
}
$sPhotoSelect = trim($aPhotoSelect['DEFAULT_LOGO_NAME']);
$check = '';
$ainfoSite = explode("/", $_SERVER["REQUEST_URI"]);