From: Gunnar Wrobel Date: Wed, 10 Feb 2010 15:03:56 +0000 (+0100) Subject: Readd sprintf() that got lost with the import to git. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=e0ef58cc037859f83c6c4e4e3a78ca084c0e44d1;p=horde.git Readd sprintf() that got lost with the import to git. --- 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;