[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1180] username was wrong
From: |
Clint Adams |
Subject: |
[Librefm-commits] [1180] username was wrong |
Date: |
Mon, 04 May 2009 02:15:08 +0000 |
Revision: 1180
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1180
Author: clint
Date: 2009-05-04 02:15:07 +0000 (Mon, 04 May 2009)
Log Message:
-----------
username was wrong
Modified Paths:
--------------
trunk/nixtape/delete-profile.php
Modified: trunk/nixtape/delete-profile.php
===================================================================
--- trunk/nixtape/delete-profile.php 2009-05-04 02:13:52 UTC (rev 1179)
+++ trunk/nixtape/delete-profile.php 2009-05-04 02:15:07 UTC (rev 1180)
@@ -56,7 +56,7 @@
$username = $user->name;
$email = $user->email;
$expire = time()+86400;
- $mdb2->exec("INSERT INTO Delete_Request (code, expires, username)
VALUES (".$mdb2->quote($code, 'text').', '.$mdb2->quote($expire,
'text').",".$mdb2->quote($username, 'text').')');
+ $mdb2->exec("INSERT INTO Delete_Request (code, expires, username)
VALUES (".$mdb2->quote($code, 'text').', '.$mdb2->quote($expire,
'text').",".$mdb2->quote($user->name, 'text').')');
$url = $base_url."/delete-profile.php?code=".$code;
$content = "Hi!\n\nSomeone from the IP address
".$_SERVER['REMOTE_ADDR']." requested account deletion @ libre.fm. To remove
this account click: \n\n".$url."\n\n- The Libre.fm Team";
$headers = 'From: Libre.fm <address@hidden>';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1180] username was wrong,
Clint Adams <=