Export the correct data content.
authorGunnar Wrobel <p@rdus.de>
Thu, 12 Mar 2009 17:45:48 +0000 (17:45 +0000)
committerGunnar Wrobel <p@rdus.de>
Thu, 12 Mar 2009 17:45:48 +0000 (17:45 +0000)
framework/Kolab_Server/lib/Horde/Kolab/Server/file.php

index 132c066..6ac479a 100644 (file)
@@ -82,7 +82,7 @@ class Horde_Kolab_Server_file extends Horde_Kolab_Server_test
     protected function store()
     {
         $raw_data = serialize($this->_data);
-        $result = @file_put_contents($this->_file, $this->_data);
+        $result = @file_put_contents($this->_file, $raw_data);
         if ($result === false) {
             $error = error_get_last();
             Horde::logMessage(sprintf('Horde_Kolab_Server_file failed to store the database in %s. Error was: %s',