free is already done by the fetch*ONE*row xorg/0.9.10
authorx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 12 Sep 2006 22:31:39 +0000 (22:31 +0000)
committerx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 12 Sep 2006 22:31:39 +0000 (22:31 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.10@836 839d8a87-29fc-0310-9880-83ba4fa771e5

include/register.inc.php

index a05f8f5..21de238 100644 (file)
@@ -190,7 +190,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) ) {
             $globals->xdb->execute('UPDATE aliases SET expire=ADDDATE(NOW(),INTERVAL 1 MONTH) WHERE alias={?}', $mailorg);