gestion si projet non existant
This commit is contained in:
parent
fd6f8829f4
commit
3836927aa2
1 changed files with 2 additions and 2 deletions
|
|
@ -110,9 +110,9 @@
|
||||||
/**
|
/**
|
||||||
* Fonction de recherche d'un seul projet
|
* Fonction de recherche d'un seul projet
|
||||||
* @param int $intId
|
* @param int $intId
|
||||||
* @return array
|
* @return array|bool
|
||||||
*/
|
*/
|
||||||
public function findOne(int $intId) :array{
|
public function findOne(int $intId) :array|bool{
|
||||||
$strRq = "SELECT project.*,
|
$strRq = "SELECT project.*,
|
||||||
users.user_pseudo AS 'project_creatorname',
|
users.user_pseudo AS 'project_creatorname',
|
||||||
users.user_image,
|
users.user_image,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue