From 2a419f93a46f5a1049792ecbc29ca9d9d115a492 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 14 Aug 2006 01:03:40 +0000 Subject: [PATCH] bug #92 --- includes/general.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/general.php b/includes/general.php index 53a1ab7..80b2ceb 100644 --- a/includes/general.php +++ b/includes/general.php @@ -621,7 +621,7 @@ fclose($fp); $line = mysql_real_escape_string(trim(strip_tags($line))); - $query = "insert into `pinglog` set `when`=NOW(), `uid`='${_SESSION['profile']['id']}', + $query = "insert into `pinglog` set `when`=NOW(), `uid`='".$_SESSION['profile']['id']."', `email`='$myemail', `result`='$line'"; mysql_query($query); @@ -632,7 +632,7 @@ } } } - $query = "insert into `pinglog` set `when`=NOW(), `uid`='${_SESSION['profile']['id']}', + $query = "insert into `pinglog` set `when`=NOW(), `uid`='".$_SESSION['profile']['id']."', `email`='$myemail', `result`='Failed to make a connection to the mail server'"; mysql_query($query); return _("Failed to make a connection to the mail server");