projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4019e3a
)
Fixes education display on profile.
author
Stéphane Jacob
<sj@m4x.org>
Thu, 1 Jul 2010 08:25:04 +0000
(10:25 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Thu, 1 Jul 2010 08:25:04 +0000
(10:25 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
plugins/function.display_education.php
patch
|
blob
|
blame
|
history
diff --git
a/plugins/function.display_education.php
b/plugins/function.display_education.php
index
bbf4208
..
160f99c
100644
(file)
--- a/
plugins/function.display_education.php
+++ b/
plugins/function.display_education.php
@@
-79,8
+79,9
@@
function smarty_function_display_education($params, &$smarty)
} else {
$sex = $params->b('sex');
}
- return display_education($edu->school_short, $edu->school_url, $edu->degree_short, $edu->grad_year,
- $edu->field, $edu->program, $sex, $params->b('long'));
+ return display_education(($edu->school_short == '') ? $edu->school : $edu->school_short,
+ $edu->school_url, $edu->degree_short, $edu->grad_year,
+ $edu->field, $edu->program, $sex, $params->b('long'));
}
// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: