mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
fixed slurping of a the next line following a triple-quoted value in a
config-file
This commit is contained in:
2
NEWS
2
NEWS
@@ -1,3 +1,5 @@
|
||||
- fix accidently slurped line following a triple-quoted value in a
|
||||
config-file (messju)
|
||||
- change default for use_sub_dirs to false (messju)
|
||||
- fix quoting of values in smarty_function_popup() (messju)
|
||||
- fix handling of hidden sections in Config_File (messju)
|
||||
|
@@ -324,7 +324,7 @@ class Config_File {
|
||||
$var_value .= $lines[$i++];
|
||||
} else {
|
||||
/* end of multiline-value */
|
||||
$var_value .= substr($lines[$i++], 0, $pos);
|
||||
$var_value .= substr($lines[$i], 0, $pos);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user