From c024b94b026db8aca0b1d020e8217c61e2e72653 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 29 Jan 2007 10:47:25 +0000 Subject: [PATCH] Applying new rs_xxx() functions everywhere. MDL-8134 --- auth/db/auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/db/auth.php b/auth/db/auth.php index 47ee43febb..c3c3ed96a7 100644 --- a/auth/db/auth.php +++ b/auth/db/auth.php @@ -397,8 +397,8 @@ class auth_plugin_db { if ( $rs->RecordCount() ) { $userlist = array(); - while ($rec = $rs->FetchRow()) { - array_push($userlist, $rec['username']); + while ($rec = rs_fetch_next_record($rs)) { + array_push($userlist, $rec->username); } return $userlist; } else { -- 2.39.5