php-activerecord icon indicating copy to clipboard operation
php-activerecord copied to clipboard

Error in docs for association conditions?

Open claytonrcarter opened this issue 9 years ago • 0 comments

The docs on the website for associations give this example (first example, under conditions):

array('payments', 'conditions' => array('void = ?' => array(0)))

which I believe is incorrect. (At least, it didn't work for me.) I believe the correct syntax/format is:

array('payments', 'conditions' => array( 'void = ?', 0 ))

claytonrcarter avatar Jun 17 '16 10:06 claytonrcarter