Project

General

Profile

Bug #4949

Updated by François ARMAND almost 7 years ago

The use of bundle file_ensure_line_present_in_ini_section() will return success not work if the section is not present in the file or if at the section (and the line) is the last end of the file.  

 The behavior result will be that the add of the section is added at the end of the file, file if not already present but not the line.  

 nothing more. 
 Furthermore, Success reports are returned. 

 A workaround is to use the generic method same bundle to add the same section two times, after another one after the other.  

Back