response->setRequestStatus(false); $this->response->addJSON('message', __('No column selected.')); return; } $this->checkParameters(['db', 'table']); $GLOBALS['urlParams'] = ['db' => $GLOBALS['db'], 'table' => $GLOBALS['table']]; $GLOBALS['errorUrl'] = Util::getScriptNameForOption($GLOBALS['cfg']['DefaultTabTable'], 'table'); $GLOBALS['errorUrl'] .= Url::getCommon($GLOBALS['urlParams'], '&'); DbTableExists::check($GLOBALS['db'], $GLOBALS['table']); $this->render('table/structure/drop_confirm', [ 'db' => $GLOBALS['db'], 'table' => $GLOBALS['table'], 'fields' => $selected, ]); } }