diff options
author | Brion Vibber <brion@pobox.com> | 2010-08-02 09:43:58 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-08-02 09:43:58 -0700 |
commit | a1aea74fe2dde70180f799b270802790d0344f60 (patch) | |
tree | 6299698e9249ff56b1acf1c0b18d4355221d9379 /classes/File.php | |
parent | 2b0a8c8cb331ae9db0064740dc804b922c96d31f (diff) | |
parent | 557c6aa40fbb9ca2c87ccd27d63d3a9d6f1847fb (diff) |
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'classes/File.php')
-rw-r--r-- | classes/File.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/File.php b/classes/File.php index 18ad82892..407fd3211 100644 --- a/classes/File.php +++ b/classes/File.php @@ -140,7 +140,7 @@ class File extends Memcached_DataObject $redir_data = array(); } else { // TRANS: Server exception thrown when a URL cannot be processed. - throw new ServerException(_("Cannot process URL '$given_url'")); + throw new ServerException(sprintf(_("Cannot process URL '%s'"), $given_url)); } // TODO: max field length if ($redir_url === $given_url || strlen($redir_url) > 255 || !$followRedirects) { |