Closed (duplicate)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
22 Jun 2009 at 16:36 UTC
Updated:
24 Jun 2009 at 16:40 UTC
Jump to comment: Most recent file
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 commentedWrong Status.
Comment #2
thenorman commentedComment #3
rszrama commentedI noticed this fix came through in a separate patch on a rogue string literal. So, it's fixed. : )