Install.php : default_user obligatoire

pull/326/head
Alexandre Alapetite 11 years ago
parent 561a7b0088
commit 2919b9a0b6
  1. 4
      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']) ||

Loading…
Cancel
Save