Bladeren bron

Forget this previous commit, will you?

Brendan Abolivier 9 jaren geleden
bovenliggende
commit
7b7e0c7bc8
2 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 0
    1
      controllers/data.php
  2. 1
    0
      controllers/document.php

+ 0
- 1
controllers/data.php Bestand weergeven

6
 {
6
 {
7
     set("title", "Titre");
7
     set("title", "Titre");
8
     set("data", Data::getAll());
8
     set("data", Data::getAll());
9
-    set("promos", Promo::getAll());
10
     
9
     
11
     return html("list.html.php", "layout.html.php");
10
     return html("list.html.php", "layout.html.php");
12
 }
11
 }

+ 1
- 0
controllers/document.php Bestand weergeven

7
 {
7
 {
8
     set("title", "Titre");
8
     set("title", "Titre");
9
     set("data", Document::getAll());
9
     set("data", Document::getAll());
10
+    set("promos", Promo::getAll());
10
 
11
 
11
     return html("list.html.php", "layout.html.php");
12
     return html("list.html.php", "layout.html.php");
12
 }
13
 }