mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
uid_from_username() returns a non-integer value when the user does not exist. This results in a broken SQL query when searching for a nonexistent submitter. Fix this by explicitly converting the result of uid_from_username() to an integer. Fixes FS#40625. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> |
||
---|---|---|
.. | ||
Archive | ||
acctfuncs.inc.php | ||
aur.inc.php | ||
aurjson.class.php | ||
cachefuncs.inc.php | ||
config.inc.php.proto | ||
DB.class.php | ||
feedcreator.class.php | ||
gettext.php | ||
pkgbasefuncs.inc.php | ||
pkgbuild-parser.inc.php | ||
pkgfuncs.inc.php | ||
routing.inc.php | ||
stats.inc.php | ||
streams.php | ||
translator.inc.php | ||
version.inc.php |