File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 164164 " ;
165165 } else {
166166 if ($ SQL ->requestExists ($ USER ->uid )) {
167- $ prompt = "onclick=' return confirm( \"Are you sure you want to cancel this request? \") " ;
168- echo "<input type='submit' value='Cancel PI Account Request' $ prompt '/> " ;
167+ $ onclick = "return confirm( \"Are you sure you want to cancel this request? \") " ;
168+ echo "<input type='submit' value='Cancel PI Account Request' onclick=' $ onclick '/> " ;
169169 echo "
170170 <label style='margin-left: 10px'>
171171 Your request has been submitted and is currently pending
174174 " ;
175175 } else {
176176 echo "<input type='hidden' name='form_type' value='pi_request'/> " ;
177- $ prompt = "onclick=' return confirm( \"Are you sure you want to request a PI account? \") " ;
178- echo "<input type='submit' value='Request PI Account' $ prompt '/> " ;
177+ $ onclick = "return confirm( \"Are you sure you want to request a PI account? \") " ;
178+ echo "<input type='submit' value='Request PI Account' onclick=' $ onclick '/> " ;
179179 }
180180 }
181181 echo "</form> " ;
You can’t perform that action at this time.
0 commit comments