https://bugzilla.wikimedia.org/show_bug.cgi?id=19185


Brion Vibber <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Brion Vibber <[email protected]>  2009-06-23 00:54:37 UTC 
---
This is a bug in your PHP extension code. unset() doesn't do what you're trying
to do on arrays -- it sets the item value to NULL but leaves the key intact and
present.

Use array_splice or array_filter or whathaveyou to produce a new array that
contains the elements you want.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to