Forums / Cotonti / Bugs / Archive / Error after try to edit a User

Trustmaster
#10313 2009-03-22 13:28
Open that line in that file, find this piece:
mb_ereg(",", $rusername) || mb_ereg("'", $rusername)
and replace it with:
mb_strstr($rusername, ',') || mb_strstr($rusername, "'")

I have noticed mb_ereg() is not present on some hosts even if they have mbstring. So we should probably avoid using mb_ereg() and use alternative functions instead.
May the Source be with you!
This post was edited by Trustmaster (2009-03-22 13:36, 16 years ago)