Closed (fixed)
Project:
Ubercart
Version:
5.x-1.7
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2009 at 23:14 UTC
Updated:
8 Mar 2010 at 07:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
cha0s commentedShould we maybe use Drupal's functions for this? I created a patch using file_scan_directory(). Would appreciate testing regarding symbolic links.
Comment #2
Island Usurper commenteduc_order_load_invoice() doesn't support template files in subdirectories, because the original code didn't look for them. file_scan_directory() shouldn't be allowed to recurse down past uc_order/templates.
Comment #3
rszrama commentedFixed a couple of things and ended up with the attached patch. Committed to the 2.x branch. I suppose it will need to be backported.
Comment #4
cha0s commentedZee backport.
Comment #5
rszrama commentedComment #6
tr commentedI tested the backport posted in #4 and it worked. As this fix has been in 6.x for a long time without a problem, I think we can consider it RTBC. Committed.