diff options
| author | polo <ordipolo@gmx.fr> | 2026-07-18 11:14:24 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2026-07-18 11:14:24 +0200 |
| commit | 32f22413786763d4d128ee286cc13700e6b0446f (patch) | |
| tree | a815f3a2d820463845364d8619941c2d733941e0 | |
| parent | 23936ef2f56f147855c498d917e3243e42d93dc1 (diff) | |
| download | AppliGestionPHP-master.tar.gz AppliGestionPHP-master.tar.bz2 AppliGestionPHP-master.zip | |
| -rwxr-xr-x | bin/livre_recettes.php | 2 |
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 = []; |
| 28 | try{ | 28 | try{ |
| 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++){ |
