Changeset 19159 for extensions/ExtendedDescription
- Timestamp:
- Nov 24, 2012, 11:27:54 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ExtendedDescription/main.inc.php
r19065 r19159 82 82 { 83 83 global $conf, $page; 84 85 if ($param != 'subcatify_category_description' and preg_match('#\[redirect (.*?)\]#i', $desc, $m1)) 84 85 if ( 86 $param != 'subcatify_category_description' 87 and ( script_basename() != 'picture' or $param != 'main_page_category_description' ) 88 and preg_match('#\[redirect (.*?)\]#i', $desc, $m1) 89 ) 86 90 { 87 91 if (preg_match('#^(img|cat|search)=(\d*)\.?(\d*|)$#i', $m1[1], $m2)) … … 199 203 200 204 // Remove a category 201 function ext_remove_cat($tpl_var , $categories)205 function ext_remove_cat($tpl_var) 202 206 { 203 207 global $conf;
Note: See TracChangeset
for help on using the changeset viewer.