getDetails.php is back to working properly