the real fix to the problem frank just checked in

This commit is contained in:
JT Smith 2008-11-15 18:51:14 +00:00
parent d6b69e789c
commit 58a2681dce
2 changed files with 2 additions and 2 deletions

View file

@ -197,7 +197,7 @@ sub getDefaultAddress {
return $address;
}
}
return undef;
WebGUI::Error::ObjectNotFound->throw(error=>"No default address.");
}
#-------------------------------------------------------------------