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:
@@ -46,7 +46,7 @@ function apidb_fullpath($path)
|
||||
*/
|
||||
function apidb_header($title = 0)
|
||||
{
|
||||
$username = isset($_SESSION['current'])?$_SESSION['current']->username:"";
|
||||
$realname = isset($_SESSION['current'])?$_SESSION['current']->realname:"";
|
||||
|
||||
// Set Page Title
|
||||
$page_title = $title;
|
||||
|
||||
Reference in New Issue
Block a user