I set to "blank" this function

$langfolder = (strtolower($_SESSION['languages_code']) == ' ') ? '' : strtolower($_SESSION['languages_code']) . '/';

And I got the button_check_new_version.gif right in both languages, but the StackError again in that page only.

I can't have both, can I?