isset($_POST)
!empty($_POST)
The former is always true (outside of post method it is an empty array and not null, and it cannot be `unset()`). The check was as such either meaningless or was supposed to check that something was sent. This commit assume the later.