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
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment