File tree Expand file tree Collapse file tree
libraries/classes/Plugins/Export Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1575,7 +1575,7 @@ public function getTableDef(
15751575 }
15761576
15771577 // Creating the parts that drop foreign keys.
1578- if ($ field ->key !== null && $ field ->key ->type === 'FOREIGN KEY ' ) {
1578+ if ($ field ->key !== null && $ field ->key ->type === 'FOREIGN KEY ' && $ field -> name !== null ) {
15791579 $ dropped [] = 'FOREIGN KEY ' . Context::escape ($ field ->name );
15801580 unset($ statement ->fields [$ key ]);
15811581 }
Original file line number Diff line number Diff line change @@ -5245,11 +5245,6 @@ parameters:
52455245 count : 1
52465246 path : libraries/classes/Plugins/Export/ExportPhparray.php
52475247
5248- -
5249- message : " #^Binary operation \"\\ .\" between 'FOREIGN KEY ' and array\\ <string\\ >\\ |string results in an error\\ .$#"
5250- count : 1
5251- path : libraries/classes/Plugins/Export/ExportSql.php
5252-
52535248 -
52545249 message : " #^Cannot access offset 'alias' on mixed\\ .$#"
52555250 count : 8
@@ -5360,11 +5355,6 @@ parameters:
53605355 count : 1
53615356 path : libraries/classes/Plugins/Export/ExportSql.php
53625357
5363- -
5364- message : " #^Parameter \\ #1 \\ $str of static method PhpMyAdmin\\\\ SqlParser\\\\ Context\\ :\\ :escape\\ (\\ ) expects array\\ <string\\ >\\ |string, string\\ |null given\\ .$#"
5365- count : 1
5366- path : libraries/classes/Plugins/Export/ExportSql.php
5367-
53685358 -
53695359 message : " #^Parameter \\ #1 \\ $string of function strtoupper expects string, mixed given\\ .$#"
53705360 count : 1
@@ -5400,11 +5390,6 @@ parameters:
54005390 count : 1
54015391 path : libraries/classes/Plugins/Export/ExportSql.php
54025392
5403- -
5404- message : " #^Property PhpMyAdmin\\\\ SqlParser\\\\ Token\\ :\\ :\\ $token \\ (string\\ ) does not accept array\\ <string\\ >\\ |string\\ .$#"
5405- count : 1
5406- path : libraries/classes/Plugins/Export/ExportSql.php
5407-
54085393 -
54095394 message : " #^Cannot access offset 'action_timing' on mixed\\ .$#"
54105395 count : 1
Original file line number Diff line number Diff line change 88178817 <code><![CDATA[$GLOBALS['plugin_param']['export_type']]]></code>
88188818 <code><![CDATA[$GLOBALS['plugin_param']['single_table']]]></code>
88198819 </PossiblyInvalidArrayOffset>
8820- <PossiblyInvalidOperand>
8821- <code><![CDATA[Context::escape($field->name)]]></code>
8822- </PossiblyInvalidOperand>
8823- <PossiblyInvalidPropertyAssignmentValue>
8824- <code>Context::escape($alias)</code>
8825- </PossiblyInvalidPropertyAssignmentValue>
88268820 <PossiblyNullArgument>
88278821 <code>$createQuery</code>
88288822 <code>$definition</code>
8829- <code><![CDATA[$field->name]]></code>
88308823 <code>$tableAlias</code>
88318824 <code>$tableAlias</code>
88328825 <code>$tableAlias</code>
You can’t perform that action at this time.
0 commit comments