#24031 [Opn->Asn]: HTML_Javascript PopupWrite flawed

From: Date: Thu, 05 Jun 2003 07:07:38 +0000
Subject: #24031 [Opn->Asn]: HTML_Javascript PopupWrite flawed
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-17038@lists.php.net to get a copy of this message
ID: 24031 Updated by: arnaud@php.net Reported By: arnaud@php.net -Status: Open +Status: Assigned Bug Type: PEAR related Operating System: not relevant PHP Version: 4.3.2 -Assigned To: +Assigned To: pajoye 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

« previous php.pear.dev (#17038) next »