|
|
@ -8,7 +8,7 @@ $response = [ |
|
|
|
|
|
|
|
|
|
|
|
if (isset($_SESSION['userName'])) { |
|
|
|
if (isset($_SESSION['userName'])) { |
|
|
|
|
|
|
|
|
|
|
|
$userName = isset($_POST['userName']) ? Filter::userName($_POST['userName']) : $_SESSION['userName']; |
|
|
|
$userName = isset($_GET['userName']) ? Filter::userName($_GET['userName']) : $_SESSION['userName']; |
|
|
|
|
|
|
|
|
|
|
|
if ($userProfileVersions = $_twister->getDHT($userName, 'profile', 's')) { |
|
|
|
if ($userProfileVersions = $_twister->getDHT($userName, 'profile', 's')) { |
|
|
|
|
|
|
|
|
|
|
|