PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Date and Time » Date » Bug #684

Class check

Details

Submitted2004-02-05 08:34 UTC
Frommailling at gmx dot co dot uk
Assignedpajoye
StatusClosed
PackageDate
PHP Version4.3.4
OSWindows 2000
Roadmaps(Not assigned)

Comments

[2004-02-05 08:34 UTC] mailling at gmx dot co dot uk

Description:
------------
We should check that the parameter is correct

Reproduce code:
---------------
599a612,618
> if (!is_a($span, 'Date_Span')) {
> return;
> }
>
> if ($span->isEmpty())
> return;
>
656a693,699
> if (!is_a($span, 'Date_Span')) {
> return;
> }
>
> if ($span->isEmpty())
> return;
>