mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
pkgfuncs.inc.php: Squelch PHP warning
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
2f8e0dfa3a
commit
938b1058eb
1 changed files with 1 additions and 0 deletions
|
@ -792,6 +792,7 @@ function pkg_search_page($SID="") {
|
||||||
|
|
||||||
include('pkg_search_form.php');
|
include('pkg_search_form.php');
|
||||||
|
|
||||||
|
$searchresults = array();
|
||||||
if ($result) {
|
if ($result) {
|
||||||
while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
|
while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
|
||||||
$searchresults[] = $row;
|
$searchresults[] = $row;
|
||||||
|
|
Loading…
Add table
Reference in a new issue