Update phpBB 2.0.21 (2)


Er is een extra update van versie 2.0.21 gereased. De volgende wijzigingen zijn doorgevoerd (info phpbb.com):

It has come to my attention that there may be a bug in this release which will affect those who run a forum with multiple languages installed and in use and lead to the default language being changed under some circumstances.

If this issue is affecting you, the following change should resolve it.

OPEN
includes/functions.php

FIND (near line 371)

      $board_config['default_lang'] = $default_lang;
      $userdata['user_lang'] = $default_lang;

REPLACE WITH

      $userdata['user_lang'] = $default_lang;

FIND (near line 374)

   elseif ( $board_config['default_lang'] !== $default_lang )

REPLACE WITH

   elseif ( $userdata['user_id'] === ANONYMOUS && $board_config['default_lang'] !== $default_lang )

FIND (near line 384)


      $board_config['default_lang'] = $default_lang;
   }

REPLACE WITH

   }

   $board_config['default_lang'] = $default_lang;

We apologize for any inconvenience this may cause those of you who are affected.


Leave a Reply

Your email address will not be published. Required fields are marked *