There is using while instead of foreach in views_calc_handler_sort
here is the patch for it
Patch seems to not have been properly uploaded.
Sorry, you are right. patch was empty.
patch is logical and works
Works for me too.
This was fixed in dev a while ago.
Drupal is a registered trademark of Dries Buytaert.