Browse Source

Correct error on logout

stevetruckstuff 19 years ago
parent
commit
9f17541ad2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/signout.php

+ 1 - 1
src/signout.php

@@ -65,7 +65,7 @@ if ( !isset($oTemplate) || !is_object($oTemplate) ) {
 }
 
 // The error handler object is probably also not initialized on a refresh
-require(SM_PATH . 'class/error.class.php');
+require_once(SM_PATH . 'class/error.class.php');
 $oErrorHandler = new ErrorHandler($oTemplate,'error_message.tpl');
 
 /* internal gettext functions will fail, if language is not set */