[dev] missing parameter in Horde::plink..??

Jan Schneider jan@horde.org
Tue, 12 Feb 2002 16:56:51 +0100


Zitat von Rene Lund Jensen <lundeman@tbkol.dk>:

> I think there is an error in the Horde::plink function
> The function simply calls Horde::link, but Horde::link has one parameter
> more than plink.
> 
> I think
> 
>     function plink($url, $status = '', $class = '', $target = '')
>     {
>        echo Horde::link($url, $status, $class, $target);
>     }
> 
> should be
> 
>     function plink($url, $status = '', $class = '', $target = '',
> $onclick =
> '')
>     {
>        echo Horde::link($url, $status, $class, $target, $onclick);
>     }

You were right. Fixed in cvs.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft