Merged in bugfix/PMCORE-3377 (pull request #8186)
PMCORE-3377 An alert notice is displayed before creating a table Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
@@ -785,6 +785,12 @@ class adminProxy extends HttpProxyController
|
|||||||
$width = "100%";
|
$width = "100%";
|
||||||
$upload = new ReplacementLogo();
|
$upload = new ReplacementLogo();
|
||||||
$aPhotoSelect = $upload->getNameLogo($_SESSION['USER_LOGGED']);
|
$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']);
|
$sPhotoSelect = trim($aPhotoSelect['DEFAULT_LOGO_NAME']);
|
||||||
$check = '';
|
$check = '';
|
||||||
$ainfoSite = explode("/", $_SERVER["REQUEST_URI"]);
|
$ainfoSite = explode("/", $_SERVER["REQUEST_URI"]);
|
||||||
|
|||||||
@@ -94,10 +94,10 @@ class pmTables extends Controller
|
|||||||
if ($table['ADD_TAB_TYPE'] == 'NORMAL' || $table['ADD_TAB_TYPE'] == 'GRID') {
|
if ($table['ADD_TAB_TYPE'] == 'NORMAL' || $table['ADD_TAB_TYPE'] == 'GRID') {
|
||||||
$repTabPluginPermissions = $this->_getSimpleReportPluginDef();
|
$repTabPluginPermissions = $this->_getSimpleReportPluginDef();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (preg_match("/^PMT_(.*)$/", $table['ADD_TAB_NAME'], $match)) {
|
if (preg_match("/^PMT_(.*)$/", $table['ADD_TAB_NAME'], $match)) {
|
||||||
$table['ADD_TAB_NAME'] = $match[1];
|
$table['ADD_TAB_NAME'] = $match[1];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->includeExtJS( 'pmTables/' . $jsFile );
|
$this->includeExtJS( 'pmTables/' . $jsFile );
|
||||||
|
|||||||
Reference in New Issue
Block a user