Changeset 252
- Timestamp:
- 03/18/09 13:36:35 (3 years ago)
- File:
-
- 1 edited
-
trunk/controllers/podcasts_controller.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/controllers/podcasts_controller.php
r251 r252 191 191 /** delete uploaded file ==*/ 192 192 unlink($podfile); 193 $this->flash($ErrMsg,'/admin/podcasts/ listing/'); #lleva a add193 $this->flash($ErrMsg,'/admin/podcasts/add/'); 194 194 } 195 195 … … 202 202 /** delete uploaded file */ 203 203 unlink($podfile); 204 $this->flash($ErrMsg,'/admin/podcasts listing/'); #lleva a add204 $this->flash($ErrMsg,'/admin/podcasts/add/'); 205 205 206 206 } … … 261 261 $this->data['Podcast']['user_id'] = $this->Auth->user('id'); 262 262 263 if ( !$this->Podcast->save($this->data))263 if ($this->Podcast->save($this->data)) 264 264 { 265 265 $this->flash('Your podcast has been saved.','/admin/podcasts/listing'); … … 275 275 276 276 277 278 279 277 public function rss($user) 280 278 {
Note: See TracChangeset
for help on using the changeset viewer.
