summaryrefslogtreecommitdiffstats
path: root/web/lib/aur.inc.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-06-05 08:26:18 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-06-05 15:12:10 +0200
commit26a09199372262a58fa9432cbd9747333552f3ec (patch)
tree59df1ce40d4fdb697a07817d41faa2d28d575762 /web/lib/aur.inc.php
parentb1c754300a774fbd01c2d88da20626e893a93095 (diff)
downloadaur-26a09199372262a58fa9432cbd9747333552f3ec.tar.gz
aur-26a09199372262a58fa9432cbd9747333552f3ec.tar.xz
Fix SQL query when searching for a missing submitter
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>
Diffstat (limited to 'web/lib/aur.inc.php')
0 files changed, 0 insertions, 0 deletions