Skip to content

Recently comitted rawAddPrefix() breaks queries #928

Closed
@killua-eu

Description

@killua-eu
$query = 'UPDATE `t_fin_trx` SET `c_json` = JSON_SET(`c_json`, "$.id", `c_uid`) WHERE (NOT `c_uid` = c_json->>"$.id") or (NOT JSON_CONTAINS_PATH(c_json, "one", "$.id"));';
$this->db->rawQuery($query);

return str_replace($table[0], self::$prefix.$table[0], $query);
will result in an Undefined offset: 0 notice. What's the intent of the function, @bejutassle ? Would you kinly look into fixing it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions