Quote from: splittingred at Sep 07, 2010, 08:28 AM
Don’t pass a function return into empty; some servers don’t like that. Do this:
$alias = $resource->get('alias');
if (empty($alias)) {
Thanks. Apparently the XAMPP Apache is one of them.
Odd that it’s not mentioned on the empty() Manual page.