projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Missing template.
[platal.git]
/
include
/
wiki
/
farmconfig.php
diff --git
a/include/wiki/farmconfig.php
b/include/wiki/farmconfig.php
index
243d2d8
..
2faf4f9
100644
(file)
--- a/
include/wiki/farmconfig.php
+++ b/
include/wiki/farmconfig.php
@@
-98,6
+98,9
@@
function doPlatalLink($link, $text)
{
if (strlen(trim($text)) == 0) {
$profile = Profile::get($link);
+ if (!$profile) {
+ return '##Utilisateur inconnu##' . $text . '##';
+ }
$text = $profile->fullName();
}
return '<a href="profile/' . $link . '" class="popup2">' . $text . '</a>';