Patch works, thank you
PHP 5.5.19
If it can help to debug the issue I use php-fpm
When I click the show tab http://myhost.com/phpmyadmin/sql.php?db=dbname&table=tablename&token=mytoken&pos=0...
Notice in ./libraries/Util.class.php#1916 Undefined index: query