From 31e05accabbff19c802a31853a4843d7deef4ccb Mon Sep 17 00:00:00 2001 From: inghamn Date: Thu, 28 Jan 2010 15:29:37 +0000 Subject: [PATCH] Fixed errors with Deeds. Adding and Updating Deeds is now working again git-svn-id: https://rosehill.googlecode.com/svn/trunk@59 100bd78a-fc82-11de-b5bc-ffd2847a4b57 --- blocks/html/deeds/addDeedForm.inc | 3 ++- blocks/html/deeds/updateDeedForm.inc | 2 +- html/deeds/addDeed.php | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/blocks/html/deeds/addDeedForm.inc b/blocks/html/deeds/addDeedForm.inc index ecb8fb0..44afa04 100644 --- a/blocks/html/deeds/addDeedForm.inc +++ b/blocks/html/deeds/addDeedForm.inc @@ -33,7 +33,8 @@ - + + diff --git a/blocks/html/deeds/updateDeedForm.inc b/blocks/html/deeds/updateDeedForm.inc index bad461c..00962b4 100644 --- a/blocks/html/deeds/updateDeedForm.inc +++ b/blocks/html/deeds/updateDeedForm.inc @@ -23,7 +23,7 @@ $selected = $this->deed->getCemetery_id()==$cemetery->getId() ? 'selected="selected"' : ''; - echo ""; + echo ""; } ?> diff --git a/html/deeds/addDeed.php b/html/deeds/addDeed.php index 06a403c..301c866 100644 --- a/html/deeds/addDeed.php +++ b/html/deeds/addDeed.php @@ -4,8 +4,6 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.txt * @author Cliff Ingham */ - -verifyUser('Administrator'); if (!userIsAllowed('Deeds')) { $_SESSION['errorMessages'][] = new Exception('noAccessAllowed'); header('Location: '.BASE_URL.'/deeds');