sailthru/sailthru-php5-client — pull request #18 by matthewgoslett (2012-09-25 17:19:57+00:00)
Title: Fix to apiGet() for parameterless calls (eg: getTemplates, getLists)

I encountered a PHP error when using getLists(). It passes a single param, the str 'list', to apiGet() however this function expects a min of 2 params.

I've chosen to modify apiGet() to default $data to an empty arr, although the same could've been done as per the original getTemplates() method - which just passes an empty arr.