View Full Version : Missing links when updating profil information

Peter Jonsson
December 3, 2012, 09:30 AM
I have this wierd bug that, after i update my profile alot of links in the memberbox gets removed.
To restore it i have to relog :/

This is how it should look:

This is how it look after updating and saving my new profile information:

I have no idea whats causing this :/

December 3, 2012, 10:58 AM

You can solve this problem the following way:

- open the file: includes/classes/rlAccount.class.php
- go to the method: editAccount()
- find this code:

$_SESSION['account'] = $account;

and replace it by:

$abilities = explode(',', $account['Abilities']);
$abilities = empty($abilities[0]) ? false : $abilities;
$account['Abilities'] = $abilities;

$_SESSION['account'] = $account;

We've fixed this problem in your site.

Peter Jonsson
December 3, 2012, 11:42 AM
I can see that, thanks!