Skip to content

db-connect check if CSV #295

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);
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions