[rt-users] Listing valid values in RT Custom Field

Ruslan Zakirov ruz at bestpractical.com
Mon Aug 26 08:53:28 EDT 2013


On Mon, Aug 26, 2013 at 6:56 AM, Justin Fenech <
justin.fenech at strategicdata.com.au> wrote:

> $cf->LoadByName(Name => $cf_name);


You didn't check that you actually loaded custom field:

unless ( $cf->id ) {
    die "Couldn't load CF $cf_name";
}


-- 
Best regards, Ruslan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130826/56f74a29/attachment.htm>


More information about the rt-users mailing list