fix Warning on no value returned in get_value

Calling a value to a row that didn't exist would return a PHP warning. Simple if statement added to prevent warning from showing.