Skip to content

Commit f110beb

Browse files
committed
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2 parents 5c98471 + b908461 commit f110beb

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ phpMyAdmin - ChangeLog
5050
- issue Fix duplicate query params in the SQL message card
5151
- issue #18314 Fix dragged row in index form
5252
- issue #17392 Fix the actions not being hidden in the Triggers, Routines, Events pages
53+
- issue #18441 Fix execute routine page not working when not in a modal
5354

5455
5.2.1 (2023-02-07)
5556
- issue #17522 Fix case where the routes cache file is invalid

templates/database/routines/execute_form.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<form action="{{ url('/database/routines') }}" method="post" class="rte_form ajax" onsubmit="return false">
1+
<form action="{{ url('/database/routines') }}" method="post" class="rte_form">
22
<input type="hidden" name="item_name" value="{{ routine['item_name'] }}">
33
<input type="hidden" name="item_type" value="{{ routine['item_type'] }}">
44
{{ get_hidden_inputs(db) }}

test/classes/Database/RoutinesTest.php

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,10 @@ public static function providerGetExecuteForm1(): array
682682
];
683683

684684
return [
685+
[
686+
$data,
687+
'<form action="index.php?route=/database/routines&server=0&lang=en" method="post" class="rte_form">',
688+
],
685689
[$data, 'name="item_name"'],
686690
[$data, 'name="funcs[foo]"'],
687691
[$data, '<input class="datefield" type="text" name="params[foo]">'],
@@ -755,7 +759,14 @@ public static function providerGetExecuteForm2(): array
755759
'item_sqldataaccess' => '',
756760
];
757761

758-
return [[$data, 'name="execute_routine"'], [$data, 'name="ajax_request"']];
762+
return [
763+
[
764+
$data,
765+
'<form action="index.php?route=/database/routines&server=0&lang=en" method="post" class="rte_form">',
766+
],
767+
[$data, 'name="execute_routine"'],
768+
[$data, 'name="ajax_request"'],
769+
];
759770
}
760771

761772
/**

0 commit comments

Comments
 (0)