Changeset 230
- Timestamp:
- 05/07/07 17:16:24 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/script/generators/scaffold/templates/controller.php
r155 r230 50 50 <?php 51 51 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']){ 53 53 $this-><?php echo $singular_name?> =& $this-><?php echo $model_name?>->find($this->params['id']); 54 54 }<?php
