phplist-plugin-restapi
phplist-plugin-restapi copied to clipboard
subscriberGetByEmail
Common::select('Subscriber', 'SELECT * FROM ' . $GLOBALS['tables']['user'] . " WHERE email = :email;", $params, true); at ~105 in subscribers.php doesn't work.
red herring, its an error in the example code actually
So, you're saying, it's not an error?
I think I stumbled on this today. Noting for others who struggle.
phpListRESTApiClient.php
has this function
public function subscriberFindByEmail
Which confusingly calls:
$result = $this->callAPI('subscriberGetByEmail', $params);