From: Jason Woofenden Date: Mon, 2 Feb 2009 22:32:30 +0000 (-0500) Subject: some clients I have set to auto-accept (very high tiny agreement) until they actually... X-Git-Url: https://jasonwoof.com/gitweb/?p=contractor-progress.git;a=commitdiff_plain;h=cdeb6364310baebb17e2a266d2785e3e90ef1a12 some clients I have set to auto-accept (very high tiny agreement) until they actually know about their account. This patch takes them to the tiny agreement form apon first login for this case --- diff --git a/index.php b/index.php index afb5de1..d8eb411 100644 --- a/index.php +++ b/index.php @@ -118,7 +118,7 @@ function _index_main() { # make sure they've filled out the tiny user agreement $tiny_agreement = db_get_value('people', 'tiny_agreement', 'where id=%i', $client_id); - if($tiny_agreement < 30) { + if($tiny_agreement < 30 || $tiny_agreement > 999) { return './tiny_agreement'; }