* fixed some warnings on install on servers using account.id

* added version 772 constant to install client choose (OTHire)
* forgot to add is_sample to samples on install
This commit is contained in:
slawkens1
2017-12-18 23:30:18 +01:00
parent fed5d08703
commit 0b2895dc56
5 changed files with 15 additions and 11 deletions

View File

@@ -69,10 +69,10 @@ else if($step == 'finish') {
}
}
else if(isset($_SESSION['var_account_id'])) {
if(!Validator::accountId($account_id)) {
if(!Validator::accountId($_SESSION['var_account_id'])) {
$errors[] = $locale['step_admin_account_id_error_format'];
}
else if($_SESSION['var_account'] == $password) {
else if($_SESSION['var_account_id'] == $password) {
$errors[] = $locale['step_admin_account_id_error_same'];
}
}