Re: cvs: php4 /pear/DB mysql.php

From: Date: Thu, 16 Aug 2001 07:08:52 +0000
Subject: Re: cvs: php4 /pear/DB mysql.php
References: 1  Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-546@lists.php.net to get a copy of this message
["Thomas V.V.Cox" <cox@idecnet.com>] > cox Wed Aug 15 19:22:33 2001 EDT > > @@ -674,7 +674,7 @@ > } > > // free the result only if we were called on a table > - if ($table) { > + if (is_resource($result)) { > @mysql_free_result($id); > } > return $res; Shouldn't that be is_resource($id)? - Stig -- Stig Sæther Bakken <ssb@alltheweb.com> Fast Search & Transfer ASA, Trondheim, Norway

« previous php.pear.cvs (#546) next »