Changeset 230

Show
Ignore:
Timestamp:
05/07/07 17:16:24 (2 years ago)
Author:
bermiferrer
Message:

Fixing syntax error in scaffold controller template

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/script/generators/scaffold/templates/controller.php

    r155 r230  
    5050            <?php  
    5151            if($model_name != $controller_name){ // if equal will be handled by the Akelos directly 
    52                 ?>if(empty($this-><?php echo $singular_name?>->id) || $this-><?php echo $singular_name?>->id != $this->params['id']))
     52                ?>if(empty($this-><?php echo $singular_name?>->id) || $this-><?php echo $singular_name?>->id != $this->params['id'])
    5353                    $this-><?php echo $singular_name?> =& $this-><?php echo $model_name?>->find($this->params['id']); 
    5454                }<?php