Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Desportes <williamdes@wdes.fr>2019-10-20 23:51:24 +0300
committerWilliam Desportes <williamdes@wdes.fr>2019-10-21 03:56:17 +0300
commiteab791dee655a8c803dca8e5538964bc40e47ddc (patch)
tree496b2965546c9e085817fdc4a694db27ed1bef18 /templates
parentaf344bb4c1456fec5382a535733a2e3dddddbb8d (diff)
Fix #15485 - Use db instead of table.db
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'templates')
-rw-r--r--templates/database/designer/database_tables.twig4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/database/designer/database_tables.twig b/templates/database/designer/database_tables.twig
index 7ba0a1f351..d4848fcea1 100644
--- a/templates/database/designer/database_tables.twig
+++ b/templates/database/designer/database_tables.twig
@@ -1,6 +1,8 @@
{% for designerTable in tables %}
{% set i = loop.index0 %}
{% set t_n_url = designerTable.getDbTableString()|escape('url') %}
+ {% set db = designerTable.getDatabaseName() %}
+ {% set db_url = db|escape('url') %}
{% set t_n = designerTable.getDbTableString() %}
<input name="t_x[{{ t_n_url }}]" type="hidden" id="t_x_{{ t_n_url }}_" />
<input name="t_y[{{ t_n_url }}]" type="hidden" id="t_y_{{ t_n_url }}_" />
@@ -63,7 +65,7 @@
{% for j in 0..tab_column[t_n]['COLUMN_ID']|length - 1 %}
{% set tmp_column = t_n ~ '.' ~ tab_column[t_n]['COLUMN_NAME'][j] %}
{% set click_field_param = [
- t_n,
+ db_url,
tab_column[t_n]['COLUMN_NAME'][j]|url_encode
] %}
{% if not designerTable.supportsForeignkeys() %}