Wrong example in source (Query.php)

Wrong example in source (Query.php)

json81json81 Posts: 24Questions: 6Answers: 1

Hi!
Example in Editor / Query.php line 565 is wrong.

  • $q->where_or( 'location', 'Canada' );

Should be:

  • $q->or_where( 'location', 'Canada' );

/Anders

Replies

  • colincolin Posts: 14,164Questions: 1Answers: 2,400

    Excellent, thanks for pointing that out. I've made the fix and that will be in the next release,

    Colin

This discussion has been closed.