Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
While doing a code review, i found a orphan for loop that generated multiple of tens for the items per page menu. Using dynamic code for such a purpose is a poor allocation of cpu time, where as the patch uses a static menu array. Reason to use patch: more efficient, better programming convention, easier to maintain (I added a comment).
../ubercart/uc_order/uc_order.admin.inc
Comment | File | Size | Author |
---|---|---|---|
#2 | uc_order.admin_.inc_.patch | 792 bytes | thenorman |
uc_order.admin_.inc_.patch | 203 bytes | thenorman | |
Comments
Comment #1
thenorman CreditAttribution: thenorman commentedWrong Status.
Comment #2
thenorman CreditAttribution: thenorman commentedComment #3
rszrama CreditAttribution: rszrama commentedI noticed this fix came through in a separate patch on a rogue string literal. So, it's fixed. : )