Форуми / Cotonti / Bugs / Archive / Error after try to edit a User

Trustmaster
#10313 22.03.2009 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!

Відредаговано: Trustmaster (22.03.2009 13:36, 16 років тому)