summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/livre_recettes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/livre_recettes.php b/bin/livre_recettes.php
index 22c5c88..9e39f39 100755
--- a/bin/livre_recettes.php
+++ b/bin/livre_recettes.php
@@ -27,7 +27,7 @@ require __DIR__ . '/../src/model/doctrine-bootstrap.php'; // chemin absolu
27$years = []; 27$years = [];
28try{ 28try{
29 if($argc === 1){ 29 if($argc === 1){
30 $years[0] = new DateTime()->format('Y') . "\n"; 30 $years[0] = new DateTime()->format('Y');
31 } 31 }
32 elseif($argc > 1){ 32 elseif($argc > 1){
33 for($i = 0; $i < $argc - 1; $i++){ 33 for($i = 0; $i < $argc - 1; $i++){