[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 416e8a: Fix missing variable on insert page

Hugues Peccatte hugues.peccatte at gmail.com
Sat Jul 27 02:28:06 CEST 2019


Branch: refs/heads/master
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: 416e8aef53139f381cfc180d58e9fcb128bc46e5
https://github.com/phpmyadmin/phpmyadmin/commit/416e8aef53139f381cfc180d58e9fcb128bc46e5
Author: Hugues Peccatte <hugues.peccatte at gmail.com>
Date: 2019-07-27 (Sat, 07 July 2019) +02:00

Changed paths: 
M libraries/entry_points/table/change.php

Log Message:
-----------
Fix missing variable on insert page

Since the use of routes, the context changed because "entrypoints" are not called directly anymore, but are called in closures, so the context is not shared. So if you want to use a global variable that was in the parent context, you now need to explicitely ask for the global variable.
In our case, "$is_upload" wasn't shared anymore.

Signed-off-by: Hugues Peccatte <hugues.peccatte at gmail.com>

Commit: 657d995567f3fd9524b750dbd3099a7579e94d36
https://github.com/phpmyadmin/phpmyadmin/commit/657d995567f3fd9524b750dbd3099a7579e94d36
Author: MaurĂ­cio Meneghini Fauth <mauricio at fauth.dev>
Date: 2019-07-26 (Fri, 07 July 2019) -03:00

Changed paths: 
M libraries/entry_points/table/change.php

Log Message:
-----------
Merge pull request #15403 from Tithugues/fix/missing-variable-on-insert-page

Fix missing variable on insert page



More information about the Git mailing list