Development

Changeset 2336

You must first sign up to be able to contribute.

Changeset 2336

Show
Ignore:
Timestamp:
10/05/06 19:55:06 (2 years ago)
Author:
fabien
Message:

fixed stupid typos

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/controller/sfRouting.class.php

    r2317 r2336  
    319319 
    320320      // all params must be given 
    321       foreach ($names as $name
    322       { 
    323         if (!isset($params[$name]) && !isset($default[$name])) 
    324         { 
    325           throw new sfException(sprintf('Route named "%s" have a mandatory "%s" parameter', $name, $name)); 
     321      foreach ($names as $tmp
     322      { 
     323        if (!isset($params[$tmp]) && !isset($defaults[$tmp])) 
     324        { 
     325          throw new sfException(sprintf('Route named "%s" have a mandatory "%s" parameter', $name, $tmp)); 
    326326        } 
    327327      }