fix lien display

This commit is contained in:
Yasder5 2026-02-24 14:16:57 +01:00
parent 9f69345f42
commit a524946d6a
2 changed files with 2 additions and 2 deletions

View file

@ -131,7 +131,7 @@
*/
public function findOne(int $intId) :array{
$strRq = "SELECT project.*,
CONCAT(users.user_firstname, ' ', users.user_name) AS 'project_creatorname',
users.user_pseudo AS 'project_creatorname',
users.user_image,
category.category_name
FROM project

View file

@ -58,7 +58,7 @@
<!-- Sidebar : informations du créateur -->
<div class="col-lg-4">
<div class="card text-center shadow-sm p-4">
<a href="index.php?ctrl=user&action=user&id={$objProject->getUser_id()}" class="text-decoration-none text-dark">
<a href="index.php?ctrl=user&action=user&pseudo={$objProject->getCreatorname()}" class="text-decoration-none text-dark">
<img src="{$smarty.env.IMG_USER_PATH}{$objProject->getUser_image() ?? "images.jpg"}"
class="rounded-circle mb-3 mx-auto"
style="width:100px;height:100px;object-fit:cover;">