forked from science-ation/science-ation
- Pull the science head user properly for the school table display.
This commit is contained in:
parent
e9e04ad944
commit
06d9e74190
@ -336,7 +336,13 @@
|
||||
echo " <td>$r->school</td>\n";
|
||||
echo " <td>$r->address, $r->city, $r->postalcode</td>\n";
|
||||
echo " <td>$r->phone</td>\n";
|
||||
echo " <td>$r->sciencehead</td>\n";
|
||||
|
||||
$sciencehead = '';
|
||||
if($r->sciencehead_uid > 0) {
|
||||
$sh = user_load_by_uid($r->sciencehead_uid);
|
||||
$sciencehead = $sh['name'];
|
||||
}
|
||||
echo " <td>$sciencehead</td>\n";
|
||||
if($config['participant_registration_type']=="schoolpassword")
|
||||
echo " <td>$r->registration_password</td>\n";
|
||||
echo " <td>$r->accesscode</td>\n";
|
||||
|
Loading…
Reference in New Issue
Block a user