Dotclear


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/media.php

    r2649 r2678  
    7575 
    7676$page_url = 'media.php?popup='.$popup.'&post_id='.$post_id; 
    77 $temp = $core->callBehavior('adminMediaURL',$page_url); 
    78 if ($temp != '') { 
    79      $page_url=$temp; 
    80 } 
     77if (($temp = $core->callBehavior('adminMediaURL',$page_url))!='') { 
     78     $page_url = $temp; 
     79} 
     80 
    8181if ($popup) { 
    8282     $open_f = array('dcPage','openPopup'); 
     
    579579     } else { 
    580580          $link = 'media_item.php?id='.$f->media_id.'&popup='.$popup.'&post_id='.$post_id; 
    581           $link = $core->callBehavior('adminMediaURL',$link); 
     581        if (($temp = $core->callBehavior('adminMediaURL',$link))!='') { 
     582            $link = $temp; 
     583        } 
    582584     } 
    583585 
Note: See TracChangeset for help on using the changeset viewer.

Sites map