Changeset 25203


Ignore:
Timestamp:
10/29/13 10:31:51 (6 years ago)
Author:
mistic100
Message:

don't redirect on album page if photo comment contains redirect tag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ExtendedDescription/main.inc.php

    r23374 r25203  
    8989  if ( 
    9090    $param != 'subcatify_category_description' 
     91    and $param != 'main_page_element_description' 
    9192    and ( script_basename() != 'picture' or $param != 'main_page_category_description' ) 
    9293    and preg_match('#\[redirect (.*?)\]#i', $desc, $m1) 
     
    770771// element 
    771772add_event_handler ('render_element_name',        'get_user_language_desc'); 
    772 add_event_handler ('render_element_description', 'get_extended_desc'); 
     773add_event_handler ('render_element_description', 'get_extended_desc', EVENT_HANDLER_PRIORITY_NEUTRAL, 2); 
    773774// mail/nbm 
    774775add_event_handler ('nbm_render_user_customize_mail_content', 'get_extended_desc'); 
Note: See TracChangeset for help on using the changeset viewer.