Show
Ignore:
Timestamp:
05/21/08 01:02:56 (8 months ago)
Author:
aarkerio
Message:

New Try

Files:
1 modified

Legend:

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

    r526 r538  
    2323 {       
    2424   if (isset( $this->params[Configure::read('Routing.admin')] )): 
    25         if ($this->Auth->user('group_id') == 1 || $this->Auth->user('group_id') == 2 ):  // admin and teachers 
    26           return true; 
    27     endif; 
    28     endif;  
    29     return false;  // go away !! 
     25       if ($this->Auth->user('group_id') == 1 || $this->Auth->user('group_id') == 2 ):  // admin and teachers 
     26         return true; 
     27       else: 
     28             return false; 
     29       endif;    
     30   endif; 
     31 
     32   return true; 
    3033 } 
    3134