Development

Changeset 3221

You must first sign up to be able to contribute.

Changeset 3221

Show
Ignore:
Timestamp:
01/11/07 08:33:23 (2 years ago)
Author:
fabien
Message:

fixed sfController::getPresentationFor broken (closes #1320)

Files:

Legend:

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

    r3209 r3221  
    531531    if ($viewName) 
    532532    { 
    533       $this->getRequest()->setAttribute($module.'_'.$action.'_view_name', $viewName, 'symfony/action/view'); 
     533      $this->getContext()->getRequest()->setAttribute($module.'_'.$action.'_view_name', $viewName, 'symfony/action/view'); 
    534534    } 
    535535 
     
    569569    if ($viewName) 
    570570    { 
    571       $this->getRequest()->getAttributeHolder()->remove($module.'_'.$action.'_view_name', 'symfony/action/view'); 
     571      $this->getContext()->getRequest()->getAttributeHolder()->remove($module.'_'.$action.'_view_name', 'symfony/action/view'); 
    572572    } 
    573573