1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Path fixes

This commit is contained in:
Cameron
2016-01-31 18:50:39 -08:00
parent fadc6eeb44
commit 6d2a691a33
2 changed files with 6 additions and 1 deletions

View File

@@ -665,6 +665,8 @@ switch ($action)
$row = $sql->db_Fetch();
extract($row);
$post_author_id = substr($upload_poster, 0, strpos($upload_poster, "."));
$post_author_name = substr($upload_poster, (strpos($upload_poster, ".")+1));
$poster = (!$post_author_id ? "<b>".$post_author_name."</b>" : "<a href='".e_BASE."user.php?id.".$post_author_id."'><b>".$post_author_name."</b></a>");