Sometimes it happens that array is modified by usort() function. The proposition is to replace it by array_multisort() to avoid this.

See https://bugs.php.net/bug.php?id=50688 and related issue.

CommentFileSizeAuthor
#2 2894511-2.patch585 bytesbr0ken

Comments

BR0kEN created an issue. See original summary.

br0ken’s picture

Assigned: br0ken » Unassigned
Status: Active » Needs review
StatusFileSize
new585 bytes
andrtroe’s picture

Assigned: Unassigned » andrtroe

  • BR0kEN authored 55c6a88 on 7.x-3.x
    Issue #2894511 by BR0kEN, andrey.troeglazov: Warning: usort(): Array was...
andrtroe’s picture

Assigned: andrtroe » Unassigned
Status: Needs review » Fixed

Thanks for the patch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

joseph.olstad’s picture

The above commit is suspected to have caused a regression

br0ken’s picture

Looks like it's my bad, sorry for that.

joseph.olstad’s picture

Andrey , can you please revert this commit prior to the upcomming release?
#2970150: Release 7.x-3.0-beta9

andrtroe’s picture

Sure, I have reverted the commit, sorry it took so long.