forked from science-ation/science-ation
Make mailing labels for science dept head non-specific to single people
"<personanne> OR science department head" ie-whoever is in charge can open it, not just the person its addressed to incase the science head has changed
This commit is contained in:
parent
7bce69f8a5
commit
016f104a5d
@ -36,9 +36,9 @@ function reports_schools_sciencehead(&$report, $field, $text)
|
|||||||
$year = $report['year'];
|
$year = $report['year'];
|
||||||
if($text > 0) { /* text is the uid */
|
if($text > 0) { /* text is the uid */
|
||||||
$u = user_load_by_uid_year($text, $year);
|
$u = user_load_by_uid_year($text, $year);
|
||||||
return $u['name'];
|
return i18n("%1 or Science Department Head",array($u['name']));
|
||||||
}
|
}
|
||||||
return '';
|
return i18n("Science Department Head");
|
||||||
}
|
}
|
||||||
|
|
||||||
function reports_schools_shphone(&$report, $field, $text)
|
function reports_schools_shphone(&$report, $field, $text)
|
||||||
|
Loading…
Reference in New Issue
Block a user