]> dev.renevier.net Git - syp.git/blobdiff - inc/html/install.php
fixes notices
[syp.git] / inc / html / install.php
index 7bab8efd67b21eed0fa9c9f52be97d38583ea4b5..c5ff654fa72d068b5a3359b7f9f84cce539db141 100644 (file)
         par_success (trans ('Found user table.'));
     } else {
         $empty_pass = (isset ($_POST ["admin_pass"]) && (strlen ($_POST ["admin_pass"]) == 0));
-        if ($_POST ["admin_pass"]) {
+        if (isset ($_POST["admin_pass"]) and $_POST ["admin_pass"]) {
             try {
                 $connection->create_users_table (true);
             } catch (Exception $e) {