Skip to content

Commit

Permalink
set related_site_id as David suggested (see also r8260)
Browse files Browse the repository at this point in the history
  • Loading branch information
slanning committed Jul 10, 2008
1 parent 587f8d6 commit fec373e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Bric/Changes.pod
Expand Up @@ -31,7 +31,7 @@ more categories than they have sites. [Scott]

=item *

Added C<--use-related-uri> option to C<bric_soap>. [Scott]
Added C<--use-related-uri> option to C<bric_soap>. [Scott, David]

=item *

Expand Down
2 changes: 2 additions & 0 deletions lib/Bric/SOAP/Util.pm
Expand Up @@ -611,6 +611,7 @@ sub _serialize_element {
my $id = $related_asset->get_id;
if ($options{args}{use_related_uri}) {
$attr{related_story_uri} = $related_asset->get_uri;
$attr{related_site_id} = $related_asset->get_site_id;
} else {
$attr{related_story_id} = $id
}
Expand All @@ -623,6 +624,7 @@ sub _serialize_element {
my $id = $related_asset->get_id;
if ($options{args}{use_related_uri}) {
$attr{related_media_uri} = $related_asset->get_uri;
$attr{related_site_id} = $related_asset->get_site_id;
} else {
$attr{related_media_id} = $id
}
Expand Down

0 comments on commit fec373e

Please sign in to comment.