auraphp/Aura.SqlQuery

Is this a coding bug?

Closed this issue · 2 comments

foreach ($from as $from_key => $from) {

    foreach (**$from** as $from_key => **$from**) {
        if (isset($join[$from_key])) {
            $from = array_merge($from, $join[$from_key]);
        }
        $refs[] = implode(PHP_EOL, $from);
    }

It definitely doesn't look like a good idea.

Gosh it sure looks like it. I will look into it more closely!