diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 65d982c..f499a8e 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -60,8 +60,6 @@ $activeChildId = $menuData['child']; $imgData = $_SESSION['photoAssureCrypte']; $photoAssureCrypte = $_SESSION['photoAssureCrypte']; -var_dump($_SESSION['vue']); - ?> @@ -395,16 +393,7 @@ var_dump($_SESSION['vue']); - getInfosVue($_SESSION['vue']); - - $descriptionVue = est_anglophone() ? $infovue['DescriptionEng'] : $infovue['Description']; - $retourVue = $infovue['lienRetour']; - - var_dump(array("Descrip =" => $descriptionVue, "retour" => $retourVue)); - */ - ?> +
@@ -445,7 +434,14 @@ var_dump($_SESSION['vue']);
- + getInfosVue($_SESSION['vue']); + + $descriptionVue = est_anglophone() ? $infovue['DescriptionEng'] : $infovue['Description']; + $retourVue = $infovue['lienRetour']; + + var_dump(array("Descrip =" => $descriptionVue, "retour" => $retourVue)); + ?>
diff --git a/Vue/gabarit_queries.php b/Vue/gabarit_queries.php index 6b3716e..362067e 100755 --- a/Vue/gabarit_queries.php +++ b/Vue/gabarit_queries.php @@ -43,7 +43,7 @@ class Gabary extends Modele { $resultat = $this->executerRequete($sql, array($vue)); - $infovue = $resultat->fetchAll(); + $infovue = $resultat->fetch(); return $infovue; }