From 1529020e79449e3f29246a633e86a6745d0f10a7 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Wed, 31 Dec 2008 10:09:04 -0500 Subject: Get db connection for accounts search results. Signed-off-by: Loui Chang --- web/lib/acctfuncs.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web/lib/acctfuncs.inc') diff --git a/web/lib/acctfuncs.inc b/web/lib/acctfuncs.inc index 1ee2d9e..e8e03cd 100644 --- a/web/lib/acctfuncs.inc +++ b/web/lib/acctfuncs.inc @@ -426,6 +426,8 @@ function search_results_page($UTYPE,$O=0,$SB="",$U="",$T="", $search_vars[] = "SB"; $q.= "LIMIT ". $OFFSET . ", " . $HITS_PER_PAGE; + $dbh = db_connect(); + $result = db_query($q, $dbh); if (!$result) { print __("No results matched your search criteria."); -- cgit v1.2.3-54-g00ecf