#49 French language forced, when generating graph

PENDING
open
courou
5
2008-01-05
2008-01-05
Anonymous
No

I'm currently using php5 and mysql5,
the application works though upon generating graphs the language auto-changes to french,
this can be quite annoying.

You might not care for this bug as french people can use it just fine.
I do hope you consider fixing this,
I will be looking for a fix to (knowing php myself).

Regards,

Robin

Discussion

  • Logged In: NO

    I was able to find a quick-fix for this,
    its rather dirty but im not going to proper debug this now.

    go into your inc/ directory,
    then open sql.inc
    go to line 1084 (or search of the the SQL_UpdateUser function)
    find the following part
    (should be underneith the function SQL_UpdateUSer statment):
    "Global $sess,$sess_pwd,$_MPM,$db; $_MPM['Serial'][]"

    now underneith this line we add the following:
    if($set == 2 && $tset2 == 19){ $set = '';$pid = '';}

    Personally this is a nasty fix and will block you from ever setting your language as french again, but it fixes this particular issue until the devs of this projects (if ever) will fix this.