cvs: pear /HTML_OOH_Form form.php

From: Date: Fri, 12 Jul 2002 07:44:41 +0000
Subject: cvs: pear /HTML_OOH_Form form.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-5067@lists.php.net to get a copy of this message
pajoye Fri Jul 12 03:44:41 2002 EDT Modified files: /pear/HTML_OOH_Form form.php Log: Fix a wrong argument name in isMethodAllowed (Thanks to Marco Wittwer for the report) Index: pear/HTML_OOH_Form/form.php diff -u pear/HTML_OOH_Form/form.php:1.11 pear/HTML_OOH_Form/form.php:1.12 --- pear/HTML_OOH_Form/form.php:1.11 Mon Jun 3 11:16:17 2002 +++ pear/HTML_OOH_Form/form.php Fri Jul 12 03:44:41 2002 @@ -16,7 +16,7 @@ // | Authors: Ulf Wendel <ulf.wendel@phpdoc.de> | // +----------------------------------------------------------------------+ // -// $Id: form.php,v 1.11 2002/06/03 15:16:17 uw Exp $ +// $Id: form.php,v 1.12 2002/07/12 07:44:41 pajoye Exp $ require_once('HTML_OOH_Form/form_commonobject.php'); @@ -47,7 +47,7 @@ * - tree (select box with options show as a tree) * * @author Ulf Wendel <ulf.wendel@phpdoc.de> -* @version $Id: form.php,v 1.11 2002/06/03 15:16:17 uw Exp $ +* @version $Id: form.php,v 1.12 2002/07/12 07:44:41 pajoye Exp $ * @access public * @package HTML_OOH_Form */ @@ -1676,7 +1676,7 @@ * @return boolean $ok * @throws form_error */ - function isMethodAllowed($function, $name, $required_type) { + function isMethodAllowed($function, $elname, $required_type) { if (!$this->elementExists($elname)) { $this->exceptions[] = new form_error("$function(): '$elname' is unknown", __FILE__, __LINE__); @@ -1719,4 +1719,4 @@ } // end func setJSError } // end class form -?> \ No newline at end of file +?>

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