From e0ef58cc037859f83c6c4e4e3a78ca084c0e44d1 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Wed, 10 Feb 2010 16:03:56 +0100 Subject: [PATCH] Readd sprintf() that got lost with the import to git. --- framework/Prefs/lib/Horde/Prefs/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Prefs/lib/Horde/Prefs/File.php b/framework/Prefs/lib/Horde/Prefs/File.php index 6e2831ed8..99c1e6663 100644 --- a/framework/Prefs/lib/Horde/Prefs/File.php +++ b/framework/Prefs/lib/Horde/Prefs/File.php @@ -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; -- 2.11.0