backport
authorx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 12 Sep 2006 22:32:34 +0000 (22:32 +0000)
committerx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 12 Sep 2006 22:32:34 +0000 (22:32 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@837 839d8a87-29fc-0310-9880-83ba4fa771e5

include/register.inc.php

index 638df13..29fd762 100644 (file)
@@ -185,7 +185,6 @@ function create_aliases (&$sub)
     if ( $res->numRows() ) {
 
         list($h_id, $h_type, $expire) = $res->fetchOneRow();
-        $res->free();
 
         if ( $h_type != 'homonyme' and empty($expire) ) {
             XDB::execute('UPDATE aliases SET expire=ADDDATE(NOW(),INTERVAL 1 MONTH) WHERE alias={?}', $mailorg);