From a18f6d1b85defa42f5b56b8ecd3b568a02d5dd92 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 19 Aug 2008 05:43:57 +0000 Subject: [PATCH] "Fixed problem reported by Uwe on the German list: SyncML is no longer working" --- phpgwapi/inc/horde/Horde/SyncML.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/horde/Horde/SyncML.php b/phpgwapi/inc/horde/Horde/SyncML.php index 8a80b0dd01..e57da5d0ec 100644 --- a/phpgwapi/inc/horde/Horde/SyncML.php +++ b/phpgwapi/inc/horde/Horde/SyncML.php @@ -151,8 +151,10 @@ class Horde_SyncML_SyncMLHdr extends Horde_SyncML_ContentHandler { session_destroy(); // we need to (re-)load the eGW session-handler, as session_destroy unloads custom session-handlers - init_session_handler(); - + if (function_exists('init_session_handler')) + { + init_session_handler(); + } // Reload the Horde SessionHandler if necessary. Horde::setupSessionHandler();