Skip to content
Snippets Groups Projects
Commit 562ed321 authored by mcramer's avatar mcramer
Browse files

Bugfix: Old connection method used, changed to use correct db class connection check

parent d65eaaf5
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ if(isset($_POST['start']) && $_POST['start'] == 1) {
}
//* Connect to DB
if($exdb->connect()) {
if($exdb !== false) {
$domains = $exdb->queryAllRecords("SELECT * FROM domains WHERE type = 'MASTER'");
if(is_array($domains)) {
foreach($domains as $domain) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment