- commit
- a50f2526acc2374f49f8a20d47c9f25049748f92
- parent
- 8947516d72db5f7f0f0eee048d2625232b53f5f8
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2020-12-02 16:37
fix yaml parse call probably a copy/paste error
Diffstat
| M | views.php | 4 | ++-- |
1 files changed, 2 insertions, 2 deletions
diff --git a/views.php b/views.php
@@ -58,7 +58,7 @@ function siteView($pupupu, $twig) 58 58 )); 59 59 } else { 60 60 try {61 -1 Yaml::parse($_POST['yml'], 'yml');-1 61 Yaml::parse($_POST['yml']); 62 62 $pupupu->put('/_site', 'yml', $_POST['yml']); 63 63 $pupupu->renderAll(); 64 64 header('Location: ', true, 302); @@ -94,7 +94,7 @@ function pageView($pupupu, $twig) 94 94 header('Location: ?', true, 302); 95 95 } else { 96 96 try {97 -1 Yaml::parse($_POST['yml'], 'yml');-1 97 Yaml::parse($_POST['yml']); 98 98 $pupupu->put($path, 'yml', $_POST['yml']); 99 99 $pupupu->put($path, 'md', $_POST['md']); 100 100 $pupupu->render($path);