[sfiab-commits] [svn] commit: r2667 - /branches/sfiab-2.3/admin/reports_schools.inc.php
Brought to you by:
sfiab
From: <in...@sf...> - 2011-03-17 22:18:12
|
Author: james Date: Thu Mar 17 18:18:05 2011 New Revision: 2667 Log: 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 Modified: branches/sfiab-2.3/admin/reports_schools.inc.php Modified: branches/sfiab-2.3/admin/reports_schools.inc.php ============================================================================== --- branches/sfiab-2.3/admin/reports_schools.inc.php (original) +++ branches/sfiab-2.3/admin/reports_schools.inc.php Thu Mar 17 18:18:05 2011 @@ -36,9 +36,9 @@ $year = $report['year']; if($text > 0) { /* text is the uid */ $u = user_load_by_uid_year($text, $year); - return $u['name']; - } - return ''; + return i18n("%1 or Science Department Head",array($u['name'])); + } + return i18n("Science Department Head"); } function reports_schools_shphone(&$report, $field, $text) |