#24017 [NEW]: HTML/Form.php; target missing in returnStart()
| From: | magz at bop dot nu | Date: | Wed, 04 Jun 2003 15:09:03 +0000 |
| Subject: | #24017 [NEW]: HTML/Form.php; target missing in returnStart() | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-17011@lists.php.net to get a copy of this message | ||
From: magz at bop dot nu
Operating system: Linux
PHP version: 4.3.2
PHP Bug Type: PEAR related
Bug description: HTML/Form.php; target missing in returnStart()
$Id: Form.php,v 1.2 2003/02/14 11:12:08 mj Exp $
The returnStart() function is missing the "target" (its there in funcion
start()).
resturnStart() Should look like:
function returnStart($multipartformdata = false)
{
$str = "<form action=\"" . basename ($this->action) . "\"
method=\"$this->method\"";
if ($this->name) {
$str .= " name=\"$this->name\"";
}
if ($this->target) {
print " target=\"$this->target\"";
}
if ($multipartformdata) {
$str .= " enctype=\"multipart/form-data\"";
}
$str .= ">";
return $str;
}
--
Edit bug report at http://bugs.php.net/?id=24017&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24017&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24017&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24017&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24017&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24017&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24017&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24017&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24017&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24017&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24017&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24017&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24017&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24017&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24017&r=gnused