Bye xorg.misc.inc.php
[platal.git] / include / validations / broken.inc.php
index c502cd8..f521865 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2007 Polytechnique.org                              *
+ *  Copyright (C) 2003-2008 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -102,7 +102,7 @@ class BrokenReq extends Validate
 
         XDB::execute("UPDATE  emails AS e
                   INNER JOIN  aliases AS a ON (a.id = e.uid)
-                         SET  e.flags = 'active'
+                         SET  e.flags = 'active', panne_level = 2
                        WHERE  a.alias = {?} AND e.email = {?}", $this->m_forlife, $this->m_email);
         if (XDB::affectedRows() > 0) {
             $this->m_reactive = true;