Development

Changeset 8778

You must first sign up to be able to contribute.

Changeset 8778

Show
Ignore:
Timestamp:
05/05/08 09:26:01 (5 years ago)
Author:
fabien
Message:

fixed sfMessageSource::load() to return false if no catalogue is loaded (closes #3472)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/lib/i18n/sfMessageSource.class.php

    r6806 r8778  
    159159 
    160160    $this->messages = array(); 
     161    $loaded = false; 
    161162 
    162163    foreach ($variants as $variant) 
     
    169170      } 
    170171 
    171       $loadData = true; 
     172      $loaded = true; 
    172173 
    173174      if ($this->cache) 
     
    200201    } 
    201202 
    202     return true
     203    return $loaded
    203204  } 
    204205