diff options
Diffstat (limited to 'src/model/Menu.php')
-rw-r--r-- | src/model/Menu.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/model/Menu.php b/src/model/Menu.php index 624a0fc..403accf 100644 --- a/src/model/Menu.php +++ b/src/model/Menu.php | |||
@@ -20,12 +20,12 @@ class Menu extends Page | |||
20 | ->getResult(); // :array de Page | 20 | ->getResult(); // :array de Page |
21 | 21 | ||
22 | if(count($bulk_data) === 0){ | 22 | if(count($bulk_data) === 0){ |
23 | makeStartPage($entityManager); | 23 | makeStartPage($entityManager); // => installation.php |
24 | } | 24 | } |
25 | 25 | ||
26 | foreach($bulk_data as $first_level_entries){ | 26 | foreach($bulk_data as $first_level_entries){ |
27 | // génération du menu | 27 | // dans le menu |
28 | if($first_level_entries->getInMenu()){ | 28 | if($first_level_entries->isInMenu()){ |
29 | $this->addChild($first_level_entries); | 29 | $this->addChild($first_level_entries); |
30 | } | 30 | } |
31 | // autres pages | 31 | // autres pages |