Fix fatal error, `empty()` only supports variables (prior to PHP 5.5)