final fixes for AssetExportHtml test

This commit is contained in:
Colin Kuskie 2008-10-08 16:52:52 +00:00
parent 076694eff3
commit 75b39feb08
3 changed files with 28 additions and 19 deletions

View file

@ -239,7 +239,7 @@ sub exportAsHtml {
# and it must be a number.
if( !looks_like_number($depth) ) {
$returnCode = 0;
$message = sprintf $i18n->get('%d is not a valid depth'), $depth;
$message = sprintf $i18n->get('%s is not a valid depth'), $depth;
return ($returnCode, $message);
}