aurweb/web/lib
Lukas Fleischer 6090c2ae8b Check query return value in search_results_page()
Instead of unconditionally calling fetch on the return value of query(),
error out early if the value evaluates to false. Also, make sure that
the results array is always initialized, even if the result set is
empty.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2017-04-18 08:38:13 +02:00
..
acctfuncs.inc.php Check query return value in search_results_page() 2017-04-18 08:38:13 +02:00
aur.inc.php Use bcrypt to hash passwords 2017-02-24 22:04:49 +01:00
aurjson.class.php Make aurjson error messages consistent 2017-02-14 20:41:50 +01:00
cachefuncs.inc.php Remove unnecessary database connection parameter from all functions 2013-02-10 12:10:38 +01:00
confparser.inc.php confparser.inc.php: Support alternative config path 2017-02-08 19:18:27 +01:00
credentials.inc.php Add comment undeletion functionality 2016-01-23 11:50:03 +01:00
DB.class.php Fix DB.class.php to match config and include SQLite support 2016-11-10 18:31:20 +01:00
feedcreator.class.php Avoid use of "<b>"/"</b>" 2012-09-24 12:23:05 +02:00
gettext.php Rename constructors to __construct 2016-01-28 22:55:32 +01:00
pkgbasefuncs.inc.php Check query return value in pkgbase_user_notify() 2017-04-18 08:37:31 +02:00
pkgfuncs.inc.php Add direct links to each source file 2017-02-12 17:53:13 +01:00
pkgreqfuncs.inc.php Add a parameter to skip old requests to pkgreq_list() 2017-02-15 07:13:01 +01:00
routing.inc.php Move registration code to a separate unit 2015-06-27 13:04:03 +02:00
stats.inc.php Remove 'new' tag from updates table 2016-01-31 20:12:56 +01:00
streams.php Rename constructors to __construct 2016-01-28 22:55:32 +01:00
timezone.inc.php Fix warning with invalid time zone 2017-02-27 18:20:00 +01:00
translator.inc.php Fix SQL query to retrieve language setting 2017-02-27 19:49:15 +01:00
version.inc.php Release 4.5.1 2017-03-09 06:18:34 +01:00