Changeset 792 for trunk/app/controllers
- Timestamp:
- 10/03/08 16:17:30 (2 months ago)
- Files:
-
- 1 modified
-
trunk/app/controllers/news_controller.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/controllers/news_controller.php
r785 r792 145 145 $this->layout = 'admin'; 146 146 147 $this->set('themes', Set::combine($this->News->Theme->find('all', array('order'=>'theme')),"{n}.Theme.id","{n}.Theme.theme"));148 147 $this->set('themes', Set::combine($this->News->Theme->find('all', array('order'=>'theme')),"{n}.Theme.id","{n}.Theme.theme")); 148 149 149 if (!empty($this->data['News'])): 150 150 $this->Sanitize = new Sanitize;
