diff options
author | jeff <jeff> | 2006-10-23 04:21:04 +0000 |
---|---|---|
committer | jeff <jeff> | 2006-10-23 04:21:04 +0000 |
commit | 9811b8ce65909a293810ddbcd8c9b5ca963fba01 (patch) | |
tree | f6b76e94f276eaabbaf58b50a39493cb91d0c7ab /httemplate/edit/reason.html | |
parent | 1043b612a287f6ccc6bbe32357483019d390f840 (diff) |
events should attach reasons
Diffstat (limited to 'httemplate/edit/reason.html')
-rw-r--r-- | httemplate/edit/reason.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/edit/reason.html b/httemplate/edit/reason.html index 2f5932846..7c0722cea 100644 --- a/httemplate/edit/reason.html +++ b/httemplate/edit/reason.html @@ -9,6 +9,9 @@ % % my (@types) = qsearch( 'reason_type', { 'class' => $class } ); % +% unless (scalar(@types)) { +% print $cgi->redirect( "reason_type.html?class=$class" ); +% } <% include( 'elements/edit.html', 'name' => ucfirst($classname) . ' Reason', 'table' => 'reason', |