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:
inghamn 2010-01-27 14:34:31 +00:00
parent 6ef9aac9a1
commit 8e9d471ecf
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ if (!userIsAllowed('Sections')) {
$cemetery = new Cemetery($_REQUEST['cemetery_id']);
if (isset($_POST['section'])) {
if (isset($_POST['code'])) {
$section = new Section();
$section->setCemetery($cemetery);
$section->setCode($_POST['code']);