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");