Fix the variable name in the error message.
authorGunnar Wrobel <p@rdus.de>
Mon, 29 Nov 2010 16:00:16 +0000 (17:00 +0100)
committerGunnar Wrobel <p@rdus.de>
Mon, 29 Nov 2010 16:00:16 +0000 (17:00 +0100)
framework/Prefs/lib/Horde/Prefs/Storage/File.php

index 5c61c65..b569280 100644 (file)
@@ -137,7 +137,7 @@ class Horde_Prefs_Storage_File extends Horde_Prefs_Storage_Base
 
         if ((file_put_contents($tmp_file, serialize($this->_fileCache)) === false) ||
             (@rename($tmp_file, $this->_fullpath) === false)) {
-            throw new Horde_Prefs_Exception(sprintf('Write of preferences to %s failed', $this->_filename));
+            throw new Horde_Prefs_Exception(sprintf('Write of preferences to %s failed', $this->_fullpath));
         }
     }