PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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;
>