JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
update wfpl and templates
[contractor-progress.git] / tiny_agreement.php
index 99dfc75..4e5a39c 100644 (file)
@@ -27,7 +27,7 @@ function tiny_agreement_get_fields() {
 function tiny_agreement_main() {
        if(!logged_in()) {
                $GLOBALS['url'] = this_url();
-               return 'tiny_agreement';
+               return 'login';
        }
 
        pulldown('level', array(
@@ -55,8 +55,6 @@ function tiny_agreement_main() {
                        message('Something went wrong there. Please try again');
                }
        }
-
-       tem_sub('main_body');
 }
 
 ?>