Changeset 26421


Ignore:
Timestamp:
06/21/10 16:44:38 (7 years ago)
Author:
jval
Message:

Check also if lang0 is part of auto languages, refs #1626

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ragnaroek/midcom/midcom.core/midcom/services/multilang.php

    r26420 r26421  
    613613                    midgard_connection::set_lang($real_lang);
    614614
    615                     if (   !$GLOBALS['midcom_config']['multilang_lang0_langs']
    616                         && $language->code == ''
     615                    if (   $language->code == ''
     616                        && !$GLOBALS['midcom_config']['multilang_lang0_langs']
     617                        && !(   $GLOBALS['midcom_config']['multilang_auto_langs']
     618                             && in_array('', $GLOBALS['midcom_config']['multilang_auto_langs']))
    617619                        && $object_in_lang0 = self::get_object_in_lang($object, '', true))
    618620                    {
Note: See TracChangeset for help on using the changeset viewer.