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
This commit is contained in:
inghamn 2010-01-28 15:29:37 +00:00
parent 25468f1a37
commit 31e05accab
3 changed files with 3 additions and 4 deletions

View File

@ -33,7 +33,8 @@
</td>
</tr>
<tr><td><label for="deed-issueDate">Date Issued</label></td>
<td><input name="deed[issueDate]" size="10" /></td>
<td><input name="deed[issueDate]" size="10" value="<?php echo date('n/j/Y'); ?>" />
</td>
</tr>
<tr><td><label for="deed-notes">notes</label></td>
<td><textarea name="deed[notes]" id="deed-notes" rows="3" cols="60"></textarea>

View File

@ -23,7 +23,7 @@
$selected = $this->deed->getCemetery_id()==$cemetery->getId()
? 'selected="selected"'
: '';
echo "<option value=\"{$cemetery->getId()}\">$name</option>";
echo "<option value=\"{$cemetery->getId()}\" $selected>$name</option>";
}
?>
</select>

View File

@ -4,8 +4,6 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.txt
* @author Cliff Ingham <inghamn@bloomington.in.gov>
*/
verifyUser('Administrator');
if (!userIsAllowed('Deeds')) {
$_SESSION['errorMessages'][] = new Exception('noAccessAllowed');
header('Location: '.BASE_URL.'/deeds');