Changeset 26263


Ignore:
Timestamp:
06/01/10 19:31:20 (7 years ago)
Author:
jval
Message:

We need to always set the language anyway so add multilang to the check instead of returning, refs #1626

File:
1 edited

Legend:

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

    r26262 r26263  
    399399        }
    400400
    401         if (!midgard_object_class::is_multilang(get_class($object)))
    402         {
    403             return;
    404         }
    405 
    406401        $lang = '';
    407         if (!empty($object->lang))
     402        if (   midgard_object_class::is_multilang(get_class($object))
     403            && !empty($object->lang))
    408404        {
    409405            try
Note: See TracChangeset for help on using the changeset viewer.