Yeah, there's no $t in 520. Too early in the morning...
Change out pg_query with pg_query_params

Also, took care of a typo. Because I'm meta like that.
Merge pull request #1 from GrinnellCollegeLibraries/master

First pull