php bug. disable error reporting on session_start() called after session_destroy().
[squirrelmail.git] / src / addrbook_search.php
index cd6366bc77d8bf5cee388edbf29022c2ee4870d6..b26dfc538c365f2aa89124363f0208688482529b 100644 (file)
@@ -23,7 +23,7 @@
 define('SM_PATH','../');
 
 /** SquirrelMail required files. */
-require_once(SM_PATH . 'include/validate.php');
+include_once(SM_PATH . 'include/validate.php');
 include_once(SM_PATH . 'functions/strings.php');
 include_once(SM_PATH . 'functions/global.php');
 include_once(SM_PATH . 'functions/html.php');
@@ -311,6 +311,5 @@ if ($show == 'form' && ! isset($listall)) {
         echo html_tag( 'p', '<br /><b>' . _("Nothing to search") . "</b>\n",'center' );
     }
 }
-
-?>
-</body></html>
\ No newline at end of file
+$oTemplate->display('footer.tpl');
+?>
\ No newline at end of file