php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24893 bugs.php.net - wrong categorie name called Array
Submitted: 2003-07-31 14:41 UTC Modified: 2003-07-31 15:20 UTC
From: nicos@php.net Assigned: alindeman (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: Irrevelant
Private report: No CVE-ID: None
 [2003-07-31 14:41 UTC] nicos@php.net
Description:
------------
In the categories listing in search.php:

You have the correct listing plus "Array" at the end.


It must be because of:

while (list($key,$value) = each($items)) {

in include/functions.inc in the function show_types or maybe a problem in $items.

Reproduce code:
---------------
http://bugs.php.net/search.php

Expected result:
----------------
Remove Array.

Actual result:
--------------
Adding Array for nothing.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-31 14:58 UTC] alindeman@php.net
Where?  I did a search on the HTML source of the search page and there are only 4 occurances of "Array," all in correct places...
 [2003-07-31 15:05 UTC] nicos@php.net
It only happens when you do a search before that has not got any result.

Like search for MySQL open bug. It will return no criteria then it adds Array at the end of the list probably because the lack of members in the array or something...
 [2003-07-31 15:09 UTC] alindeman@php.net
Well, that's important information :)  Assigned to me
 [2003-07-31 15:20 UTC] alindeman@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 11:01:34 2024 UTC