#34051 [Com]: JavaScript Error in userprefs.js
| From: | adam at oxeo dot com | Date: | Tue, 09 Aug 2005 17:44:30 +0000 |
| Subject: | #34051 [Com]: JavaScript Error in userprefs.js | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-28924@lists.php.net to get a copy of this message | ||
ID: 34051
Comment by: adam at oxeo dot com
Reported By: stephen at newnet dot co dot uk
Status: Open
Bug Type: Website problem
PHP Version: Irrelevant
New Comment:
not 100% sure but looking at the code this is not an error.
Most likely firefox is just being overzealous.
Previous Comments:
------------------------------------------------------------------------
[2005-08-09 17:35:48] stephen at newnet dot co dot uk
Description:
------------
There appears to be a typo/error in the userprefs.js file, FireFox
gives the following error message, and is even kind enough to give the
solution -not that its a difficult one to work out.
The error appeared when I searched the 'function list' for the ucfirst
function giving the page:
<http://uk.php.net/manual/en/function.ucfirst.php>
Warning: test for equality (==) mistyped as assignment (=)?
Source File: http://uk.php.net/userprefs.js
Line: 103, Column: 40
Source Code:
if (myphpnet = getCookie('MYPHPNET')) {
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34051&edit=1