ChangeLog entry for #14365. Load SQL query from the query parameters
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
parent
d9797819ad
commit
be6b8d48eb
@ -12,6 +12,7 @@ phpMyAdmin - ChangeLog
|
||||
- issue #14390 Can't unhide tables
|
||||
- issue #14382 "Visualize GIS data" icon missing
|
||||
- issue #14435 Event scheduler status toggle doesn't work
|
||||
- issue #14365, View not working on multiple servers
|
||||
|
||||
4.8.2 (2018-06-21)
|
||||
- issue #14370 WHERE 0 causes Fatal error
|
||||
|
||||
@ -40,10 +40,6 @@ $view_security_options = array(
|
||||
'INVOKER'
|
||||
);
|
||||
|
||||
if (empty($sql_query)) {
|
||||
$sql_query = '';
|
||||
}
|
||||
|
||||
// View name is a compulsory field
|
||||
if (isset($_REQUEST['view']['name'])
|
||||
&& empty($_REQUEST['view']['name'])
|
||||
@ -175,6 +171,8 @@ if (isset($_REQUEST['createview']) || isset($_REQUEST['alterview'])) {
|
||||
exit;
|
||||
}
|
||||
|
||||
$sql_query = ! empty($_GET['sql_query']) ? $_GET['sql_query'] : '';
|
||||
|
||||
// prefill values if not already filled from former submission
|
||||
$view = array(
|
||||
'operation' => 'create',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user