Commit 1529020e authored by Loui Chang's avatar Loui Chang
Browse files

Get db connection for accounts search results.



Signed-off-by: default avatarLoui Chang <louipc.ist@gmail.com>
parent 3b4662a5
......@@ -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.");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment