Changeset 13523


Ignore:
Timestamp:
03/09/12 07:04:55 (7 years ago)
Author:
rvelices
Message:

fix action.php permissions checking when original is small

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/action.php

    r13489 r13523  
    104104{ 
    105105  case 'e': 
    106     if ( $user['enabled_high']!='true' ) 
     106    if ( !$user['enabled_high'] ) 
    107107    { 
    108       do_error(401, 'Access denied e'); 
     108      $deriv = new DerivativeImage(IMG_XXLARGE, new SrcImage($element_info)); 
     109      if ( !$deriv->same_as_source() ) 
     110      { 
     111        do_error(401, 'Access denied e'); 
     112      } 
    109113    } 
    110114    $file = get_element_path($element_info); 
Note: See TracChangeset for help on using the changeset viewer.