Commit 617b456d authored by David Anderson's avatar David Anderson

- web: fix bug in column-mode prefs display

svn path=/trunk/boinc/; revision=19685
parent f8e6ad4e
......@@ -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
......@@ -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);
......
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