Commit be82a1ad authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bugs 1620175, 1620176: Only variables should be assigned by reference"

parents ff72211c 2710fdb0
......@@ -106,7 +106,7 @@ $form['elements']['group'] = array('type' => 'hidden', 'value' => ($groupid) ? $
$form = pieform($form);
$smarty =& smarty();
$smarty = smarty();
$smarty->assign_by_ref('form', $form);
$smarty->display('form.tpl');
exit;
......
......@@ -34,7 +34,7 @@ else {
$form = ArtefactTypePlan::get_form();
}
$smarty =& smarty();
$smarty = smarty();
$smarty->assign_by_ref('form', $form);
$smarty->assign_by_ref('PAGEHEADING', hsc(TITLE));
$smarty->display('artefact:plans:new.tpl');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment