File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 7272 if ($ SQL ->requestExists ($ USER ->uid , UnitySQL::REQUEST_BECOME_PI )) {
7373 UnityHTTPD::badRequest ("already requested to be PI " );
7474 }
75- if (! isset ( $ _POST [ " tos " ]) || $ _POST ["tos " ] != "agree " ) {
75+ if ($ _POST ["tos " ] != "agree " ) {
7676 UnityHTTPD::badRequest ("user did not agree to terms of service " );
7777 }
7878 $ USER ->getPIGroup ()->requestGroup ($ SEND_PIMESG_TO_ADMINS );
Original file line number Diff line number Diff line change 3030 switch ($ _POST ["form_type " ]) {
3131 case "addPIform " :
3232 $ pi_account = $ getPIGroupFromPost ();
33- if (! isset ( $ _POST [ " tos " ]) || $ _POST ["tos " ] != "agree " ) {
33+ if ($ _POST ["tos " ] != "agree " ) {
3434 UnityHTTPD::badRequest ("user did not agree to terms of service " );
3535 }
3636 if ($ pi_account ->exists ()) {
You can’t perform that action at this time.
0 commit comments