#24031 [Asn->Csd]: HTML_Javascript PopupWrite flawed
| From: | nicos@php.net | Date: | Thu, 31 Jul 2003 09:05:22 +0000 |
| Subject: | #24031 [Asn->Csd]: HTML_Javascript PopupWrite flawed | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-19011@lists.php.net to get a copy of this message | ||
ID: 24031
Updated by: nicos@php.net
Reported By: arnaud@php.net
-Status: Assigned
+Status: Closed
Bug Type: PEAR related
Operating System: not relevant
PHP Version: 4.3.2
Assigned To: pajoye
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-06-05 02:07:17] arnaud@php.net
The popupWrite method has a bug in attributes handling.
if($attr) {
$attr = array('yes', 'yes', 'yes', 'yes',
'yes', 'yes',
$top, $left);
} else {
$attr = array('no', 'no', 'no', 'no',
'no', 'no', $top,
$height);
}
Upon "true", it uses $left but upon false it uses $height.
It should read if i am not mistaken.
if($attr) {
$attr = array('yes', 'yes', 'yes', 'yes',
'yes', 'yes',
$top, $left);
} else {
$attr = array('no', 'no', 'no', 'no',
'no', 'no', $top,
$left);
}
Revision: 1.32 of Javascript.php
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24031&edit=1