php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38398 A bug in a javascript code
Submitted: 2006-08-09 10:45 UTC Modified: 2008-11-29 16:35 UTC
Votes:3
Avg. Score:3.3 ± 0.5
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: bruno dot pereira at artelecom dot pt Assigned: kalle (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: windows xp
Private report: No CVE-ID: None
 [2006-08-09 10:45 UTC] 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')) {


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-29 17:54 UTC] petris_e at hotmail dot com
fsdfdsfd
 [2008-11-26 13:06 UTC] kalle@php.net
Something as simple as this should do:
http://phpfi.com/382702
 [2008-11-26 19:33 UTC] bjori@php.net
This bug has been fixed in CVS. Since the websites are not directly
updated from the CVS server, the fix might need some time to spread
across the globe to all mirror sites, including PHP.net itself.

Thank you for the report, and for helping us make PHP.net better.

Seems fine to me Kalle

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 20:01:30 2024 UTC