Commit 2ef9402f authored by Oliver Bock's avatar Oliver Bock

Merge remote-tracking branch 'origin/drupal-generic' into drupal-eah-albert

parents ee6f79d4 9128cadf
......@@ -762,6 +762,11 @@ function boincwork_save_prefs($prefs, $type = 'general', $venue = null, $account
else {
// If prefs is null, clear out this preference set
unset($main_prefs['venue'][$key]);
if (count($main_prefs['venue']) == 0) {
// If that was the only preference set configured, unset the
// venue tag altogether
unset($main_prefs['venue']);
}
}
$new_venue = false;
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment