mirror of
				https://github.com/smarty-php/smarty.git
				synced 2025-11-03 22:01:36 +01:00 
			
		
		
		
	stashing PCRE modifications
This commit is contained in:
		@@ -165,7 +165,7 @@ function smarty_function_html_radios_output($name, $value, $output, $selected, $
 | 
			
		||||
    
 | 
			
		||||
    if ($labels) {
 | 
			
		||||
        if ($label_ids) {
 | 
			
		||||
            $_id = smarty_function_escape_special_chars(preg_replace('![^\w\-\.]!u', '_', $name . '_' . $value));
 | 
			
		||||
            $_id = smarty_function_escape_special_chars(preg_replace('![^\w\-\.]!' . SMARTY_PREG_MODIFIER, '_', $name . '_' . $value));
 | 
			
		||||
            $_output .= '<label for="' . $_id . '">';
 | 
			
		||||
        } else {
 | 
			
		||||
            $_output .= '<label>';
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user