Author: FabianLange
Date: 2010-02-10 16:46:46 +0100 (Wed, 10 Feb 2010)
New Revision: 27816
Modified:
branches/1.2/lib/task/sfFilesystem.class.php
branches/1.3/lib/task/sfFilesystem.class.php
branches/1.4/lib/task/sfFilesystem.class.php
Log:
[1.2, 1.3, 1.4] fixed invalid sprintf syntax in exception (closes #8256)
Modified: branches/1.2/lib/task/sfFilesystem.class.php
===================================================================
--- branches/1.2/lib/task/sfFilesystem.class.php 2010-02-10 13:44:15 UTC
(rev 27815)
+++ branches/1.2/lib/task/sfFilesystem.class.php 2010-02-10 15:46:46 UTC
(rev 27816)
@@ -182,7 +182,7 @@
// we check that target does not exist
if (is_readable($target))
{
- throw new sfException(sprintf('Cannot rename because the target "%"
already exist.', $target));
+ throw new sfException(sprintf('Cannot rename because the target "%s"
already exist.', $target));
}
$this->logSection('rename', $origin.' > '.$target);
Modified: branches/1.3/lib/task/sfFilesystem.class.php
===================================================================
--- branches/1.3/lib/task/sfFilesystem.class.php 2010-02-10 13:44:15 UTC
(rev 27815)
+++ branches/1.3/lib/task/sfFilesystem.class.php 2010-02-10 15:46:46 UTC
(rev 27816)
@@ -182,7 +182,7 @@
// we check that target does not exist
if (is_readable($target))
{
- throw new sfException(sprintf('Cannot rename because the target "%"
already exist.', $target));
+ throw new sfException(sprintf('Cannot rename because the target "%s"
already exist.', $target));
}
$this->logSection('rename', $origin.' > '.$target);
Modified: branches/1.4/lib/task/sfFilesystem.class.php
===================================================================
--- branches/1.4/lib/task/sfFilesystem.class.php 2010-02-10 13:44:15 UTC
(rev 27815)
+++ branches/1.4/lib/task/sfFilesystem.class.php 2010-02-10 15:46:46 UTC
(rev 27816)
@@ -182,7 +182,7 @@
// we check that target does not exist
if (is_readable($target))
{
- throw new sfException(sprintf('Cannot rename because the target "%"
already exist.', $target));
+ throw new sfException(sprintf('Cannot rename because the target "%s"
already exist.', $target));
}
$this->logSection('rename', $origin.' > '.$target);
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.