Any ideas as to where the error is coming from?
Parse error: syntax error, unexpected '=' in /home/..../includes/class_dm_user.php(1556) : eval()'d code on line 1
I change my code to
PHP Code:
$username = ucwords(strtolower($this->fetch_field('username')));
Now i do not get an error, but the line seems to have no effect on the username either.
That is using the userdata_presave hook