[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GT] Re: DB::Text broken in r589
Le dimanche 23 mars 2008, Stanislav Meduna a écrit :
> Hi,
>
> the r589 broke DB::Text for non-default field numbers.
> E.g. if I have the date in the first field (index 0),
> the following line
>
> if (!$self->{'datetime'}) { $self->{'datetime'} = 5; }
>
> resets it back to 5.
Check for "!defined($self->{'datetime'})" instead then.
Cheers,
--
Raphaël Hertzog -+- http://www.ouaza.com
Freexian : des développeurs Debian au service des entreprises
http://www.freexian.com