phpmyadmin/libraries/classes/Controllers
Alessandro Dolci 3f5fff3f4d Fixed condition on the emptiness of enum type criteriaValues array (#14648)
The if condition has a call to the empty function on the criteriaValues array, but in the considered case that array only contains a '0', so this makes it look empty to the function. I added a control on the first element of the array, to avoid this specific situation.
It's my first contribution, so I hope I did well with the branches. Let me know if there's something missing or to do, I'm happy to help.

Signed-off-by: Alessandro Dolci <alessandro.dolci@pm.me>
2018-10-30 21:05:33 -03:00
..
Database Remove $GLOBALS['dbi'] from Relation class 2018-08-30 19:05:09 -03:00
Server phpstan level 1 (#14472) 2018-08-18 14:37:41 -03:00
Table Fixed condition on the emptiness of enum type criteriaValues array (#14648) 2018-10-30 21:05:33 -03:00
Controller.php Replace Template::get calls in libraries/classes 2018-06-18 18:18:24 -03:00
DatabaseController.php Fix phpcs errors 2018-05-18 01:59:38 -03:00
TableController.php Fix phpcs errors 2018-05-18 01:59:38 -03:00