Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorsuthern
     

    Currently the line (#880) reads

    * 'conditions' => An SQL fragment like "administrator = 1" or array("user_name = ?" => $username). See conditions in the intro.
    

    The array section in the above example is bad php. This fragment is similar what I use all the time:

    array('user_name = ?', $username)
    

    A very small fix, but it may save someone a few moments of confusion in the future. :-)