Fix email auto-activation
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 9 Jan 2007 22:14:49 +0000 (22:14 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 9 Jan 2007 22:14:49 +0000 (22:14 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1326 839d8a87-29fc-0310-9880-83ba4fa771e5

include/emails.inc.php

index 22642d8..c87bfc8 100644 (file)
@@ -259,7 +259,7 @@ class Redirect
                 return SUCCESS;
             }
         }
-        $this->emails[] = new Email(array($email,1,'','0000-00-00'));
+        $this->emails[] = new Email(array($email, 'active', '', '0000-00-00', '0000-00-00', 0));
 
         // security stuff
         $res = XDB::query("SELECT state, description