diff --git a/plugin.php b/plugin.php index 7412176..16db1df 100644 --- a/plugin.php +++ b/plugin.php @@ -49,7 +49,7 @@ private function checkLogin() { $user->setCreatedAt(time()); $user->setOAuthSignIn('twitter::' . $twitterid); // we use the email field to store the twitterid - $user->setEmail(''); + $user->setEmail(null); $user->setRole(UserPeer::ROLE_EDITOR); // activate user rigth away $user->setName($screenname); $user->setSmProfile('https://twitter.com/'.$screenname); @@ -140,4 +140,4 @@ public function getRequiredLibraries() { ); } -} \ No newline at end of file +}