Fixed Notice in ./tbl_relation.php#628.
Done syntax improvements.