From: x2000habouzit Date: Tue, 12 Sep 2006 22:32:34 +0000 (+0000) Subject: backport X-Git-Tag: xorg/0.9.11~82 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=105b215f75b5e9310e24e439737938a7bb768d80;p=platal.git backport git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@837 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/include/register.inc.php b/include/register.inc.php index 638df13..29fd762 100644 --- a/include/register.inc.php +++ b/include/register.inc.php @@ -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);