diff options
author | Vincent Horváth <win9400@gmail.com> | 2018-10-11 18:02:41 +0300 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2018-10-26 00:14:21 +0300 |
commit | 3cda8e6093aa4e8116857633e2af28ea7ede76f9 (patch) | |
tree | d026b8a2985c28f896405fd3224bd47fadb4b46e /libraries | |
parent | 4cddc665532b0d37f387fcd77a70ae146ec957d1 (diff) |
Fix for #14636 - Move operation causes SELECT * FROM `undefined`
- fixed params name in operation js file
- set value in global field table to new table name
- fixed refresh page after submit move table
- fixed back quote in message result
Signed-off-by: Vincent Horváth <win9400@gmail.com>
(cherry picked from commit 52024f1d2b411ac317f71fdaf6c76f8abd8a742d)
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/classes/Operations.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/classes/Operations.php b/libraries/classes/Operations.php index 7c364310b1..7f707612eb 100644 --- a/libraries/classes/Operations.php +++ b/libraries/classes/Operations.php @@ -2118,6 +2118,8 @@ class Operations $new_name = strtolower($new_name); } + $GLOBALS['table'] = $new_name; + $new = Util::backquote($_REQUEST['target_db']) . '.' . Util::backquote($new_name); $message->addParam($new); |