Fix for MOVE into a bound location.

This commit is contained in:
Andrew McMillan 2011-11-22 23:47:04 +13:00
parent 72ad090152
commit 026c03d7a7

View File

@ -102,7 +102,7 @@ $qry = new AwlQuery('BEGIN');
if ( !$qry->Exec('move') ) rollback(500);
$src_name = $src->dav_name();
$dst_name = $dest->dav_name();
$dst_name = ($dest->IsBinding() ? $dest->bound_from() : $dest->dav_name());
$src_collection = $src->GetProperty('collection_id');
$dst_collection = $dest->GetProperty('collection_id');
$src_user_no = $src->GetProperty('user_no');