Last modified: 2011-11-25 07:36:57 UTC
"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' ); }
function update( $table, $values, $conds, $fname = 'DatabaseBase::update', $options = array() ) { and function makeList( $a, $mode = LIST_COMMA ) { Neither of those actually have a default! :)
if( is_null( $cond ) ) echo "default still fails";