Merge remote branch 'upstream/master'
This commit is contained in:
commit
51d9dfb9b6
@ -95,6 +95,7 @@ class PMA_PDF extends TCPDF
|
||||
function Download($filename)
|
||||
{
|
||||
$pdfData = $this->getPDFData();
|
||||
PMA_Response::getInstance()->disable();
|
||||
PMA_downloadHeader($filename, 'application/pdf', strlen($pdfData));
|
||||
echo $pdfData;
|
||||
}
|
||||
|
||||
@ -57,13 +57,13 @@ class PMA_User_Schema
|
||||
*/
|
||||
public function processUserChoice()
|
||||
{
|
||||
global $action_choose, $db, $cfgRelation;
|
||||
global $db, $cfgRelation;
|
||||
|
||||
if (isset($this->action)) {
|
||||
switch ($this->action) {
|
||||
case 'selectpage':
|
||||
$this->chosenPage = $_REQUEST['chpage'];
|
||||
if ($action_choose=="1") {
|
||||
if ('1' == $_REQUEST['action_choose']) {
|
||||
$this->deleteCoordinates(
|
||||
$db,
|
||||
$cfgRelation,
|
||||
@ -856,9 +856,8 @@ class PMA_User_Schema
|
||||
private function _editCoordinates($db, $cfgRelation)
|
||||
{
|
||||
for ($i = 0; $i < $this->c_table_rows; $i++) {
|
||||
$arrvalue = 'c_table_' . $i;
|
||||
global $$arrvalue;
|
||||
$arrvalue = $$arrvalue;
|
||||
$arrvalue = $_POST['c_table_' . $i];
|
||||
|
||||
if (! isset($arrvalue['x']) || $arrvalue['x'] == '') {
|
||||
$arrvalue['x'] = 0;
|
||||
}
|
||||
|
||||
3271
libraries/server_privileges.lib.php
Normal file
3271
libraries/server_privileges.lib.php
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user