<?php
/***************************************************************************
- * Copyright (C) 2003-2006 Polytechnique.org *
+ * Copyright (C) 2003-2007 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
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