Update table.php

Added empty line between variable declaration and if/else-block + removed space between ! and property_exists()