https://bugzilla.wikimedia.org/show_bug.cgi?id=27659

--- Comment #1 from Reedy <s...@reedyboy.net> 2011-02-23 13:01:54 UTC ---
        if ( !empty( $conds ) ) {
            if ( is_array( $conds ) ) {
                $conds = $this->makeList( $conds, LIST_AND );
            }
            $sql = "SELECT $startOpts $vars $from $useIndex WHERE $conds
$preLimitTail";
        } else {
            $sql = "SELECT $startOpts $vars $from $useIndex $preLimitTail";
        }

$from is only right when not LEFT JOIN'ing in tables

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to