Readd sprintf() that got lost with the import to git.
authorGunnar Wrobel <wrobel@temple.(none)>
Wed, 10 Feb 2010 15:03:56 +0000 (16:03 +0100)
committerGunnar Wrobel <wrobel@temple.(none)>
Wed, 10 Feb 2010 15:03:56 +0000 (16:03 +0100)
framework/Prefs/lib/Horde/Prefs/File.php

index 6e2831e..99c1e66 100644 (file)
@@ -218,7 +218,7 @@ class Horde_Prefs_File extends Horde_Prefs
         }
 
         if ($this->_writeCache() == false) {
-            throw new Horde_Exception('Write of preferences to %s failed', $this->_filename);
+            throw new Horde_Exception(sprintf('Write of preferences to %s failed', $this->_filename));
         }
 
         return true;