Closed (fixed)
Project:
Commerce Shipping
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2012 at 17:43 UTC
Updated:
28 Nov 2012 at 18:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
citlacom commentedHere the patch.
Comment #2
citlacom commentedPrevious patch miss a parenthesis, use this instead.
Comment #3
jwilson3I can confirm this patch does what it says, but since I'm working on the same project as citlacom, will leave it to someone else to also verify.
Comment #4
rszrama commentedI actually don't have this problem. We do define this variable whether there are services or not in the form builder:
My hunch is you have an alteration or something that's interfering with the code from working; or it's just something that's beyond me. That said, I prefer empty() checks to using a mixed type variable as a boolean. I'll update the validate handler to use that. : )