header('Location: admin_teams.php');
exit();
} else
- $errors->add($i18n->getKey('error.db'));
+ $err->add($i18n->getKey('error.db'));
}
if ($request->getParameter('btn_cancel')) {
header('Location: admin_teams.php');
exit();
}
-} // POST
+} // isPost
$smarty->assign('team_to_delete', $team_name);
$smarty->assign('forms', array($form->getName()=>$form->toArray()));