@@ -188,14 +188,14 @@ discard block |
||
188 | 188 | |
189 | 189 | // Check if consent to terms of use has been given. |
190 | 190 | // |
191 | - $myconsent = FALSE; |
|
191 | + $myconsent = false; |
|
192 | 192 | list($checkct, $ctid) = check_consent_type(CONSENT_TYPE_ENROLL); |
193 | 193 | if ($checkct and check_termsofuse()) { |
194 | 194 | $agree = post_str("agree_to_terms_of_use", true); |
195 | 195 | if (!$agree) { |
196 | 196 | error_page(tra("You have not agreed to our terms of use. Please agree to the terms of use by navigating back to the previous page, in order to create your account")); |
197 | 197 | } |
198 | - $myconsent = TRUE; |
|
198 | + $myconsent = true; |
|
199 | 199 | } |
200 | 200 | |
201 | 201 | // see whether the new account should be pre-enrolled in a team, |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | $team = BoincTeam::lookup_id($teamid); |
207 | 207 | $clone_user = BoincUser::lookup_id($team->userid); |
208 | 208 | if (!$clone_user) { |
209 | - error_page("User $userid not found"); |
|
209 | + error_page("user $userid not found"); |
|
210 | 210 | } |
211 | 211 | $project_prefs = $clone_user->project_prefs; |
212 | 212 | } else { |