diff --git a/lib/WebGUI/AssetHelper/ChangeUrl.pm b/lib/WebGUI/AssetHelper/ChangeUrl.pm
index a706d246c..c81cc9163 100644
--- a/lib/WebGUI/AssetHelper/ChangeUrl.pm
+++ b/lib/WebGUI/AssetHelper/ChangeUrl.pm
@@ -72,7 +72,7 @@ sub www_changeUrl {
error => $i18n->get('38', 'WebGUI'),
}
}
- my $f = WebGUI::HTMLForm->new($session, action=>$asset->getUrl);
+ my $f = WebGUI::HTMLForm->new($session, method => 'POST' );
$f->hidden( name => 'op', value => 'assetHelper' );
$f->hidden( name => 'className', value => $class );
$f->hidden( name => "method", value=>"changeUrlSave" );
@@ -123,7 +123,11 @@ sub www_changeUrlSave {
}
}
- return '';
+ my $output = sprintf '', $asset->getUrl;
+ return $output;
}