mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
If a db query returned NULL instead of an array, then accessing $row[0] now throws a warning. The undocumented behavior of evaluating to NULL is maintained, and we want to return NULL anyway, so add a check for the value and fall back on the default function return type. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org> |
||
---|---|---|
.. | ||
acctfuncs.inc.php | ||
aur.inc.php | ||
aurjson.class.php | ||
cachefuncs.inc.php | ||
confparser.inc.php | ||
credentials.inc.php | ||
DB.class.php | ||
feedcreator.class.php | ||
gettext.php | ||
pkgbasefuncs.inc.php | ||
pkgfuncs.inc.php | ||
pkgreqfuncs.inc.php | ||
routing.inc.php | ||
stats.inc.php | ||
streams.php | ||
timezone.inc.php | ||
translator.inc.php | ||
version.inc.php |