Show
Ignore:
Timestamp:
06/30/08 18:21:16 (5 months ago)
Author:
aarkerio
Message:

Liitle fixes}

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/controllers/users_controller.php

    r590 r614  
    619619 { 
    620620    $this->layout    = 'admin'; 
    621      
     621 
     622    if ( $this->data['User']['file']['error'] != 0 ): 
     623      $this->flash('Something where wrong, please push Back button', '/admin/users/edit/'); 
     624      return false; 
     625    endif; 
     626 
    622627    if (!empty($this->data['User']) && is_uploaded_file($this->data['User']['file']['tmp_name'])) 
    623628    {