Skip to content
Snippets Groups Projects
Commit a8588be3 authored by suprasanity's avatar suprasanity
Browse files

je me chie dessus

parent 7e27b099
No related branches found
No related tags found
No related merge requests found
......@@ -27,9 +27,12 @@
<div class="row pb-3">
<?php
$search=null;
if(isset($_GET["categoryId"])){
if(isset($_GET["categoryId"]) AND !empty($_GET["categoryId"])){
$search["categoryId"]=($_GET["categoryId"]);
}
if(isset($_GET["name"]) AND !empty($_GET["name"])){
$search["name"]=($_GET["name"]);
}
$recettes = getRecettes($search);
foreach($recettes as $recette){
$array["userId"] = $recette["auteurId"];
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment