phpmyadmin/libraries/classes/Controllers
Alessandro Dolci fd3dde47a6 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>
(cherry picked from commit 3f5fff3f4d)
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-10-30 21:09:02 -03:00
..
Database Replace PhpMyAdmin\Relation static calls 2018-03-25 19:32:13 -03:00
Server Fix for #14314, error while naming a database '0' 2018-06-29 10:40:54 -04:00
Table Fixed condition on the emptiness of enum type criteriaValues array (#14648) 2018-10-30 21:09:02 -03:00
Controller.php Move dependencies to outside of abstract controllers 2017-11-04 12:41:57 -02:00
DatabaseController.php Move dependencies to outside of abstract controllers 2017-11-04 12:41:57 -02:00
TableController.php Move dependencies to outside of abstract controllers 2017-11-04 12:41:57 -02:00