mirror of https://github.com/BOINC/boinc.git
web: fix PHP warnings
This commit is contained in:
parent
69ab6f570c
commit
c93b12dd60
|
@ -417,6 +417,7 @@ global $venue_name;
|
|||
function get_disk_space_config() {
|
||||
global $config;
|
||||
$config = get_config();
|
||||
$dp = new StdClass;
|
||||
$dp->disk_max_used_gb = parse_config($config, "<default_disk_max_used_gb>");
|
||||
$dp->disk_max_used_pct = parse_config($config, "<default_disk_max_used_pct>");
|
||||
$dp->disk_min_free_gb = parse_config($config, "<default_disk_min_free_gb>");
|
||||
|
|
|
@ -209,6 +209,7 @@ function project_specific_prefs_show($prefs, $columns=false) {
|
|||
}
|
||||
|
||||
function project_specific_prefs_parse($prefs_xml) {
|
||||
$prefs = new StdClass;
|
||||
if (COLOR_PREFS) {
|
||||
$prefs->color_scheme = parse_element($prefs_xml, "<color_scheme>");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue