rackspace/php-cloudfiles — Issue #46: This patch hasn't been applied yet. :-)
Author: RussNelson
Created: 2011-10-28 01:52:38+00:00
State: open

diff --git a/cloudfiles.php b/cloudfiles.php
index dce2636..707eab5 100644
--- a/cloudfiles.php
+++ b/cloudfiles.php
@@ -1633,7 +1633,7 @@ class CF_Container
$status = $this->cfs_http->copy_object($obj_name,$dest_obj_name,$container_name_source,$this->name,$metadata,$headers);
if ($status == 404) {
$m = "Specified object '".$container_name_source."/".$obj_name;
- $m.= "' did not exist as source to copy from or '".$this->name."/".$obj_name."' did not exist as target to copy to.";
+ $m.= "' did not exist as source to copy from or '".$this->name."/".$dest_obj_name."' did not exist as target to copy to.";
throw new NoSuchObjectException($m);
}
if ($status < 200 || $status > 299) {