Ignore:
Timestamp:
04/10/16 09:51:01 (4 years ago)
Author:
ddtddt
Message:

[extensions] - user_custom_fields - bug regex

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/user_custom_fields/initadmin.php

    r31542 r31544  
    4646 
    4747function ucf_config_prefilter($content, &$smarty){ 
    48   $search = '#(      <li> 
     48  $search = '#(<li> 
    4949        <label class="font-checkbox"> 
    5050          <span class="icon-check"></span> 
    51           <input type="checkbox" name="obligatory_user_mail_address").*(</label> 
    52       </li>)#ms'; 
     51          <input type="checkbox" name="obligatory_user_mail_address").*Mail address is mandatory for registration\'\|translate} 
     52        </label> 
     53      </li>#ms'; 
    5354  return preg_replace($search, '', $content); 
    5455} 
Note: See TracChangeset for help on using the changeset viewer.