Skip to content

Commit

Permalink
correct bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiiii-dev committed Dec 15, 2020
1 parent 86982c5 commit faba2dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/Twig.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ public function renderView(string $view, array $parameter = [])
$twig->addGlobal('session', $_SESSION ?? $rememberMe);
$twig->addGlobal('idUser', $_SESSION['id'] ?? $cookie[0]);

echo $twig->render($view, $parameter);
print_r($twig->render($view, $parameter));
}
}

0 comments on commit faba2dc

Please sign in to comment.