This patch make email address the user's username as requested in the TODO.

query_users.php is modified even if we will drop it in the future to be sure it works everywhere.
This commit is contained in:
Jonathan Ernst
2005-01-10 22:54:04 +00:00
committed by WineHQ
parent 6b039f82ce
commit d9826427da
25 changed files with 85 additions and 136 deletions

View File

@@ -45,7 +45,7 @@ if(isset($_REQUEST['sub']))
if($sEmail)
{
$ms .= ($_SESSION['current']->username ? $_SESSION['current']->username : "Anonymous")." deleted note from ".$sFullAppName."\n";
$ms .= ($_SESSION['current']->realname ? $_SESSION['current']->realname : "Anonymous")." deleted note from ".$sFullAppName."\n";
$ms .= "\n";
$ms .= "title: ".$sOldNoteTitle."\n";
$ms .= "\n";
@@ -72,7 +72,7 @@ if(isset($_REQUEST['sub']))
if($sEmail)
{
$ms .= ($_SESSION['current']->username ? $_SESSION['current']->username : "Anonymous")." changed note for ".$sFullAppName."\n";
$ms .= ($_SESSION['current']->realname ? $_SESSION['current']->realname : "Anonymous")." changed note for ".$sFullAppName."\n";
$ms .= "From --------------------------\n";
$ms .= "title: ".$sOldNoteTitle."\n";
$ms .= "\n";