Skip to content

db-connect check if CSV #295

@andreakru

Description

@andreakru

// skip database connection if we don't have a db_name and db_hosts
if ($db_name && is_array($db_hosts)) {

// in case db_hosts was specified as csv
if (!is_array($db_hosts)) {    // THIS SHOULD BE BEFORE if ($db_name && is_array($db_hosts))
    $db_hosts = explode(',', $db_hosts);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions