https://bugzilla.wikimedia.org/show_bug.cgi?id=17832
Roan Kattouw <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Roan Kattouw <[email protected]> 2009-03-07 12:59:47 UTC --- (In reply to comment #0) > While the API could be changed all over the place to use reset() instead of > current(), it seems easier to just add the reset in > getUserPermissionsErrors(); > the attached patch does just that. > Did the former in r48122: the calling code should not make any assumptions about where the array pointer in the returned array is. Using current() makes that assumption, while using reset() doesn't. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
