- web: fix bug in column-mode prefs display

svn path=/trunk/boinc/; revision=19685
This commit is contained in:
David Anderson 2009-11-24 04:37:47 +00:00
parent f8e6ad4e59
commit 617b456df8
2 changed files with 9 additions and 3 deletions

View File

@ -9453,3 +9453,9 @@ Charlie 23 Nov 2009
GR-ReadMe.rtf
PTP-ReadMe.rtf
ReadMe.rtf
David 23 Nov 2009
- web: fix bug in column-mode prefs display
html/inc/
prefs.inc

View File

@ -575,9 +575,9 @@ function hour_range($venue, $type) {
//
function row_defs($pre, $item, $post, $type, $prefs) {
$gen = $prefs->$item;
$hom = (isset($prefs->home) && isset($prefs->home->item)) ? $prefs->home->$item : "--";
$schl = (isset($prefs->school) && isset($prefs->school->item)) ? $prefs->school->$item : "--";
$wrk = (isset($prefs->work) && isset($prefs->work->item)) ? $prefs->work->$item : "--";
$hom = (isset($prefs->home) && isset($prefs->home->$item)) ? $prefs->home->$item : "--";
$schl = (isset($prefs->school) && isset($prefs->school->$item)) ? $prefs->school->$item : "--";
$wrk = (isset($prefs->work) && isset($prefs->work->$item)) ? $prefs->work->$item : "--";
echo "<tr><td class=fieldname>$pre</td>";
row_field($gen, $type);