Fixed error: adding sections is working again
git-svn-id: https://rosehill.googlecode.com/svn/trunk@55 100bd78a-fc82-11de-b5bc-ffd2847a4b57
This commit is contained in:
parent
6ef9aac9a1
commit
8e9d471ecf
|
@ -14,7 +14,7 @@ if (!userIsAllowed('Sections')) {
|
||||||
|
|
||||||
$cemetery = new Cemetery($_REQUEST['cemetery_id']);
|
$cemetery = new Cemetery($_REQUEST['cemetery_id']);
|
||||||
|
|
||||||
if (isset($_POST['section'])) {
|
if (isset($_POST['code'])) {
|
||||||
$section = new Section();
|
$section = new Section();
|
||||||
$section->setCemetery($cemetery);
|
$section->setCemetery($cemetery);
|
||||||
$section->setCode($_POST['code']);
|
$section->setCode($_POST['code']);
|
||||||
|
|
Loading…
Reference in New Issue