#38398 [Opn]: A bug in a javascript code

[email protected]
Newsgroups php.webmaster
Message-ID <[email protected]>
 ID:               38398
 Updated by:       [email protected]
 Reported By:      bruno dot pereira at artelecom dot pt
 Status:           Open
 Bug Type:         Website problem
 Operating System: windows xp
 PHP Version:      Irrelevant
 New Comment:

Something as simple as this should do:
http://phpfi.com/382702


Previous Comments:
------------------------------------------------------------------------

[2007-11-29 17:54:58] petris_e at hotmail dot com

fsdfdsfd

------------------------------------------------------------------------

[2006-08-09 10:45:00] bruno dot pereira at artelecom dot pt

Description:
------------
Warning: test for equality (==) mistyped as assignment (=)?
Source File: http://pt.php.net/userprefs.js
Line: 104, Column: 40
Source Code:
    if (myphpnet = getCookie('MYPHPNET')) {

Reproduce code:
---------------
Warning: test for equality (==) mistyped as assignment (=)?
Source File: http://pt.php.net/userprefs.js
Line: 104, Column: 40
Source Code:
    if (myphpnet = getCookie('MYPHPNET')) {



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=38398&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.