The attached patch provides the following fixes/enhancements:

Minor indentation corrections.
_quotes_recentquotes_access()
Add the $account parameter to resolve an access bug.
quotes_load()
Change 'join' to 'leftjoin' so that fields in the quotes table load even if there is no matching quotes_authors record.
quotes_node_view()
Move the code for loading citations outside the check for a valid author, so quotes may display citations without authors. For instance, an anonymous quote may be cited as "Heard in casual conversation." or "Seen on Facebook."
theme_quotes_page()
quotes_myquotes()
quotes_page()
Pass/accept a user object rather than an integer uid.
(Enhancement) Use theme('username') to display quotes attributions.
(Enhancement) Use "Quotes from User" rather than "User's Quotes" for better grammar and to make translations easier.
Remove the erroneous PASS_THROUGH parameter to t().
quotes_block_join_sql()
Correct the comments and remove cruft.
quotes_author()
Eliminate PHP warnings and SQL fatal errors, and update to D7 database API.
quotes_get_authors()
Eliminate PHP errors and update to D7 database API.
TODO
All the quotes/author/% pages are still showing "Array" for output, but at least they are now showing *something.*
CommentFileSizeAuthor
quotes.patch11.39 KBpillarsdotnet

Comments

ctmattice1’s picture

Status: Needs review » Closed (fixed)

majority of changes incorporated into dev release. closing