Changeset 9549


Ignore:
Timestamp:
Mar 6, 2011, 9:58:33 AM (10 years ago)
Author:
patdenice
Message:

bug:2213
Default language must be set to guest AND default user

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/languages.class.php

    r9520 r9549  
    141141UPDATE '.USER_INFOS_TABLE.'
    142142  SET language = \''.$language_id.'\'
    143   WHERE user_id = '.$conf['default_user_id'].'
     143  WHERE user_id IN ('.$conf['default_user_id'].', '.$conf['guest_id'].')
    144144;';
    145145        pwg_query($query);
Note: See TracChangeset for help on using the changeset viewer.