Show
Ignore:
Timestamp:
05/21/08 15:27:00 (8 months ago)
Author:
aarkerio
Message:

New Try

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/groups/admin_edit.ctp

    r503 r541  
    11<?php  
    22 //die( debug( $this->data ) );  
    3  if ( $cU['User']['group_id'] != 1 ): 
    4      $this->flash('Error, you are not allowed to be here'); 
     3 if ( $session->read('Auth.User.group_id') != 1 ): 
     4      $this->flash('Error, you are not allowed to be here'); 
    55 endif; 
    66