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