Changeset 27246


Ignore:
Timestamp:
02/06/14 21:24:16 (5 years ago)
Author:
mistic100
Message:

fix typo in r27027

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ExtendedDescription/include/events.inc.php

    r27241 r27246  
    140140    case 'subcatify_category_description' : 
    141141      $patterns[] = '#^(.*?)(' . preg_quote($conf['ExtendedDescription']['complete']) . '|' . preg_quote($conf['ExtendedDescription']['more']) . '|' . preg_quote($conf['ExtendedDescription']['up-down']) . ').*$#is'; 
    142       $replacement = '$1'; 
     142      $replacements[] = '$1'; 
    143143      $desc = preg_replace($patterns, $replacements, $desc); 
    144144      $desc = preg_replace($generic_pattern, '', $desc); 
Note: See TracChangeset for help on using the changeset viewer.