From 5322acf455b851ec5fa92481c9172cf63a9e484a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 10 Oct 2008 13:11:37 +0000 Subject: [PATCH] "fixed type causing sitemgr reloads to fail: PHP Fatal error: The script tried to execute a method or access a property of an incomplete object." --- phpgwapi/inc/class.egw_session.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.egw_session.inc.php b/phpgwapi/inc/class.egw_session.inc.php index 004f88bc82..24ea5f5b17 100644 --- a/phpgwapi/inc/class.egw_session.inc.php +++ b/phpgwapi/inc/class.egw_session.inc.php @@ -571,11 +571,11 @@ class egw_session private function register_session($login,$user_ip,$now,$session_flags) { // restore session vars set before session was started - if (is_array($this->require_files)) + if (is_array($this->required_files)) { $_SESSION[self::EGW_REQUIRED_FILES] = !is_array($_SESSION[self::EGW_REQUIRED_FILES]) ? $this->required_files : array_unique(array_merge($_SESSION[self::EGW_REQUIRED_FILES],$this->required_files)); - unset($this->require_files); + unset($this->required_files); } $_SESSION[self::EGW_SESSION_VAR] = array( 'session_id' => $this->sessionid,