Update get_data.php

version error, fix empty() usage