Skip to content

A free, self-hostable news aggregator…

Install.php : default_user obligatoire

Alexandre Alapetite2919b9a0b6c7
diff --git a/public/install.php b/public/install.php
index 478650d65..377b2916d 100644
--- a/public/install.php
+++ b/public/install.php
@@ -209,7 +209,8 @@ function saveLanguage () {
function saveStep2 () {
if (!empty ($_POST)) {
if (empty ($_POST['title']) ||
- empty ($_POST['old_entries'])) {
+ empty ($_POST['old_entries']) ||
+ empty ($_POST['default_user']) {
return false;
}
@@ -244,6 +245,7 @@ function saveStep2 () {
header ('Location: index.php?step=3');
}
}
+
function saveStep3 () {
if (!empty ($_POST)) {
if (empty ($_POST['type']) ||