Closed (fixed)
Project:
Title
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Jun 2012 at 02:50 UTC
Updated:
13 Jun 2014 at 23:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
plachI never thought about this use case, since usually labels are required. A patch + tests would be welcome.
Btw, would about
!empty()instead ofisset()?Comment #2
mikey_p commentedempty() won't work either, $foo = NULL, empty($foo) evaluates to TRUE
for example:
Comment #3
mikey_p commentedActually this doesn't seem to be an issue with 7.x-1.x-alpha3.
Waiting to see if this resolves the issue for the client.
Comment #4
mikey_p commentedRegardless of whether or not the original problem is still manifesting, I think this code is more correct than isset().
Comment #5
mikey_p commentedINCLUDE ALL THE HUNKS.
Comment #6
bojanz commentedLooks good to me.
Adding this patch to Title in Commerce Kickstart v2.
Comment #7
plachCommitted and pushed, thanks.
Comment #8
plachComment #9.0
(not verified) commentedlinking