Hey
hope you still need a solution.
do not
$lang=$CFG->lang;
change it to
$lang=current_language();
there is a moodle function for it.
hope this will help
Hey
hope you still need a solution.
do not
$lang=$CFG->lang;
change it to
$lang=current_language();
there is a moodle function for it.
hope this will help