openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit c06a0c06882e854bf5e564aec3a36e552628397c
parent 01aef13d14584a861edb850748243788ff96582d
Author: dankert <devnull@localhost>
Date:   Sun, 19 Dec 2004 20:24:02 +0100

Id auf "-" setzen, wenn 0

Diffstat:
serviceClasses/Html.class.php | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/serviceClasses/Html.class.php b/serviceClasses/Html.class.php @@ -73,8 +73,11 @@ class Html * @param Id fuer diesen Aufruf * @param Weitere beliebige Parameter */ - function url( $action,$subaction='',$id='-',$params=array() ) + function url( $action,$subaction='',$id='',$params=array() ) { + if ( intval($id)==0 ) + $id='-'; + global $conf; if ( is_array($action) )