cvs: pear /Tree Error.php

From: Date: Thu, 22 Aug 2002 23:37:31 +0000
Subject: cvs: pear /Tree Error.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-5888@lists.php.net to get a copy of this message
cain Thu Aug 22 19:37:31 2002 EDT Modified files: /pear/Tree Error.php Log: - made a parameter optional Index: pear/Tree/Error.php diff -u pear/Tree/Error.php:1.1 pear/Tree/Error.php:1.2 --- pear/Tree/Error.php:1.1 Thu Mar 7 15:59:46 2002 +++ pear/Tree/Error.php Thu Aug 22 19:37:31 2002 @@ -16,7 +16,7 @@ // | Authors: Wolfram Kriesing <wolfram@kriesing.de> | // +----------------------------------------------------------------------+ // -// $Id: Error.php,v 1.1 2002/03/07 20:59:46 cain Exp $ +// $Id: Error.php,v 1.2 2002/08/22 23:37:31 cain Exp $ /** * @@ -40,7 +40,7 @@ * @param * @return */ - function Tree_Error( $msg , $line , $file , $mode=null , $userinfo ) + function Tree_Error( $msg , $line , $file , $mode=null , $userinfo='no userinfo' ) { $this->PEAR_Error( sprintf("%s <br/>in %s [%d].", $msg, $file, $line), null , $mode , null, $userinfo );

« previous php.pear.cvs (#5888) next »