Drupal: Fix error in user WAP wrapper

https://dev.gridrepublic.org/browse/DBOINCP-184
This commit is contained in:
Tristan Olive 2016-07-21 09:46:12 -04:00
parent 6122b00e1b
commit 5c107dbfdd
1 changed files with 2 additions and 0 deletions

View File

@ -1062,6 +1062,8 @@ function boincwork_submit_rpc_handler() {
* Page callback for user WAP (userw.php).
*/
function boincwork_user_wap() {
// Remove q from the GET request or BOINC will panic
unset($_GET['q']);
include_boinc('user/userw.php');
}