Some formatting
Die if installer.php fails to create password file
Update target counts after importing eChecklist and CKL
This commit is contained in:
2018-10-25 17:48:57 -04:00
parent d43775b26f
commit 7f2f6a9046
8 changed files with 26 additions and 11 deletions

View File

@ -2713,7 +2713,7 @@ class db
]
]);
$sw_rows = $this->help->execute();
if (count($sw_rows)) {
if (is_array($sw_rows) && count($sw_rows)) {
if (isset($sw_rows['sw_id'])) {
$sw_rows = [0 => $sw_rows];
}