Commit 8f9afb81 authored by Alex Vandiver's avatar Alex Vandiver
Browse files

Revert "Provide a better error message for loading OCFVs on an invalid CF"

This reverts commit 40478732.

The CF object may not be readable without context.
parent 03dfc5e4
......@@ -140,7 +140,6 @@ sub LoadByCols {
if ( $args{CustomField} ) {
$cf = RT::CustomField->new( $self->CurrentUser );
$cf->Load( $args{CustomField} );
return (0, $self->loc("Cannot load custom field [_1]",$args{CustomField})) unless $cf->id;
my ($ok, $msg) = $cf->_CanonicalizeValue(\%args);
return ($ok, $msg) unless $ok;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment