Hi, I've run into a 500 fatal error on my site. I got this in my error log
PHP Code:
PHP Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /website/url/admin/includes/functions/extra_functions/reward_points_functions.php on line 387
I found this code around line 387
PHP Code:
{
if($value==0)
return TEXT_NO_NEW_ACCOUNT_AWARD;
else
if($value>0)
return abs((int)$value).TEXT_NEW_ACCOUNT_EARNED_AWARD;
else
return abs((int)$value).TEXT_NEW_ACCOUNT_PENDING_AWARD;
}
Bookmarks