quote manquante.

This commit is contained in:
Alexandre Anriot 2005-09-23 13:17:56 +00:00
parent cf38640730
commit 9e8fe582f6
1 changed files with 2 additions and 1 deletions

View File

@ -155,7 +155,8 @@ function clean_ip($ip)
{
$connexion = connexion();
$query = 'update users set ip = \'''\' where ip = \''.$ip.'\'';
my $blank = " ";
$query = 'update users set ip = \''.$blank.'\' where ip = \''.$ip.'\'';
$resultat = mysql_query($query) or die("Erreur clean_ip: ".mysql_error());
mysql_close ($connexion);