concrete5/concrete5-5.7.0 — pull request #407 by mlocati (2014-07-10 13:32:08+00:00)
Title: Fix reports logs

- If a user is deleted, we call `getUserName` method on a NULL: let's avoid it :wink:
- `$ent->getUserID` may return `'0'`: [comparing it with NULL returns false](http://mlocati.github.io/php-comparisions/), and the previous code considers `'0'` as a valid user id: let's avoid this by using `empty()` instead of `== NULL`