pkgfuncs.inc.php: Fix blacklisting functionality
commitf3325ce66f004b7580229fc7ddafcf641cfc9aa8
authorcanyonknight <canyonknight@gmail.com>
Tue, 9 Oct 2012 20:44:09 +0000 (9 16:44 -0400)
committerLukas Fleischer <archlinux@cryptocrack.de>
Thu, 11 Oct 2012 19:19:16 +0000 (11 21:19 +0200)
tree30f6e6b7dbefe0b29961fa9876fe8c5ecc01df56
parent24a8452880476201ab231b86f6a9cde1e74e107c
pkgfuncs.inc.php: Fix blacklisting functionality

An array that contains whether the package is blacklisted is
being improperly used for a comparison. Use fetchColumn() to
avoid the array completely and compare a value directly.

Regression with e171f6f34eeacf35cf7142b4788d43e7d0978546

Fixes FS#31867

Signed-off-by: canyonknight <canyonknight@gmail.com>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
web/lib/pkgfuncs.inc.php