On 3/1/14, Hugues Peccatte hugues.peccatte@gmail.com wrote:
Hi,
2014-03-01 12:49 GMT+01:00 Marc Delisle marc@infomarc.info:
Le 2014-02-28 09:42, Omer Jer a écrit :
Hi, Refreshing the Table Export page causes this bug. After looking at the code I got that the bug is due to the missing of this parameter '$_REQUEST['single_table']' in the display_export.inc.php
The only way to fix it is (as I suppose) to append the single_table='true' in the url when the users first come to the Table Export page.
But single_table is already set to true on the table Export menu link.
But the fact is that he seems to be right... After refreshing the page, the single_table input is no longer in the form... His fix is working for me.
It is a class of bugs, whenever a parameter is omitted from being added to selflink in microhistory, and we refresh. I commented on a related fix by J.M. at [0]
Alternative solution to what is mentioned in the comment: we could consider adding an if condition for each possible param after looking for the param names in [1] (look for ['args']['....']), as is already done for 'viewing_mode' in [0].
[0] https://github.com/phpmyadmin/phpmyadmin/compare/dfd6881929...49d60e0dd5 [1] https://github.com/phpmyadmin/phpmyadmin/blob/master/libraries/Menu.class.ph...
Thanks & Regards