No, I intended to assign $field->label to $title, and, at the same time,
check to see if that was successful.  If not, fall back to existing
behavior.

could instead be written as;
$title = $field->label;
if (empty($title)) {


On Tue, Jul 30, 2013 at 11:29 PM, Nicholas K. Dionysopoulos <
notifications@github.com> wrote:

> In fof/render/strapper.php:
>
> > @@ -993,8 +993,10 @@ protected function renderFormRaw(FOFForm &$form, FOFModel $model, FOFInput $inpu
> >
> >  				if (empty($title) && !$emptylabel)
> >  				{
> > -					$model->getName();
> > -					$title = strtoupper($input->get('option') . '_' . $model->getName() . '_' . $field->id . '_LABEL');
> > +					if (!$title = $field->label)
>
> I am not sure what you're doing here. Did you mean to write if ($title !=
> $field->label) ? That would make sense. What is written right now doesn't
> make much sense to me.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/akeeba/fof/pull/115/files#r5496644>
> .
>



-- 
Ben Sandberg, PDXfixIT
ben@pdxfixit.com
503.877.2087