Author: wmf.amgine3691
Description:
"Database::makeList called with incorrect parameters" does not unambiguously show error is with database::update calling parameters.
Possible fix:
if ( is_array( $conds ) ) { $sql .= " WHERE " . $this->makeList( $conds, LIST_AND ); }elseif( $conds != '*' ){ throw new DBUnexpectedError( $this, 'DatabaseBase::update called with incorrect $conds parameter' ); }
Version: 1.17.x
Severity: minor