phplist-plugin-restapi icon indicating copy to clipboard operation
phplist-plugin-restapi copied to clipboard

subscriberGetByEmail

Open andresclements opened this issue 7 years ago • 3 comments

Common::select('Subscriber', 'SELECT * FROM ' . $GLOBALS['tables']['user'] . " WHERE email = :email;", $params, true); at ~105 in subscribers.php doesn't work.

andresclements avatar Mar 13 '18 07:03 andresclements

red herring, its an error in the example code actually

andresclements avatar Mar 13 '18 08:03 andresclements

So, you're saying, it's not an error?

michield avatar Mar 13 '18 19:03 michield

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);

reetp avatar Jan 05 '24 17:01 reetp