From 71f2efd7af4b32eb514c134769fc969e5e64bd2b Mon Sep 17 00:00:00 2001 From: canyonknight Date: Wed, 23 May 2012 15:25:23 -0400 Subject: account_search_results.php: Pull out DB code * Move DB code from account_search_results.php to already existing function in acctfuncs.inc.php * Centralization of DB code important in a future transition to PDO interface Signed-off-by: canyonknight Signed-off-by: Lukas Fleischer --- web/template/account_search_results.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'web/template') diff --git a/web/template/account_search_results.php b/web/template/account_search_results.php index 88d6bb6..f2ed62e 100644 --- a/web/template/account_search_results.php +++ b/web/template/account_search_results.php @@ -2,7 +2,6 @@ if (!$result): print __("No results matched your search criteria."); else: - $num_rows = mysql_num_rows($result); if ($num_rows): ?> @@ -20,7 +19,7 @@ else: