Index: trunk/wb/admin/login/forgot/index.php
===================================================================
--- trunk/wb/admin/login/forgot/index.php	(revision 314)
+++ trunk/wb/admin/login/forgot/index.php	(revision 315)
@@ -96,7 +96,7 @@
 	
 	If you have received this message in error, please delete it immediatly.';
 				// Try sending the email
-				if($wb->mail('From: '.SERVER_EMAIL,$mail_to,$mail_subject,$mail_message)) { 
+				if($admin->mail('From: '.SERVER_EMAIL,$mail_to,$mail_subject,$mail_message)) { 
 					$message = $MESSAGE['FORGOT_PASS']['PASSWORD_RESET'];
 					$display_form = false;
 				} else {
@@ -161,4 +161,4 @@
 $template->parse('main', 'main_block', false);
 $template->pparse('output', 'page');
 
-?>
\ No newline at end of file
+?>
