X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_event_option.pm;h=6df9e84c1eae6c641198e34b0eb17058e7c12fb7;hp=43e1da93386e76913e54080c40e2ee7caacda849;hb=674cb2d9d7105f4cc2871539b2e9f7088cdaa750;hpb=5e05724a635a22776f1b973f5d7e77989da4e048 diff --git a/FS/FS/part_event_option.pm b/FS/FS/part_event_option.pm index 43e1da933..6df9e84c1 100644 --- a/FS/FS/part_event_option.pm +++ b/FS/FS/part_event_option.pm @@ -2,6 +2,7 @@ package FS::part_event_option; use strict; use vars qw( @ISA ); +use Scalar::Util qw( blessed ); use FS::UID qw( dbh ); use FS::Record qw( qsearch qsearchs ); use FS::part_event; @@ -182,7 +183,8 @@ sub check { $self->ut_numbern('optionnum') || $self->ut_foreign_key('eventpart', 'part_event', 'eventpart' ) || $self->ut_text('optionname') - || $self->ut_textn('optionvalue') + #|| $self->ut_textn('optionvalue') + || $self->ut_anything('optionvalue') #http.pm content has \n ; return $error if $error;