Actions
Bug #5561
closed$readini(), $ini() should ignore empty entries
Start date:
04/30/2022
Due date:
% Done:
0%
Estimated time:
Operative System:
All
Regression:
No
Description
Hello,
When i having the following INI format example then $readini() and $ini() identifiers miss-behaving.
Examples :
$ini(file.ini,Options,0)
returns 1 as it should be 10$readini(file.ini,n,Options,Show_Avatar_On_Nicklist)
returns $null as it should return the value that is 1
INI File :
[Options] Images_Formats=png jpg jpeg ico gif tiff ; Status Window Active Window Hidden Users_Set_Information_Location=Status Window ; Status Window Active Window Hidden Users_UnSet_Information_Location=Status Window Auto_Send_Sub_Avatars_When_Supported=1 Show_Avatar_On_Nicklist=1 Show_Avatar_On_Messages=1 Show_Avatar_On_Statusbar=1 Show_Avatar_On_Windows_Bars=1 ; Maybe? ; /ignore supports to ignore inlineimages (-Iu1) Ignore_Inlineimage_On_Set=0 Ignore_Inlineimage_On_Sub=0
- Thanks!
Updated by Per Amundsen over 2 years ago
- Subject changed from $readini() and $ini() doesn't working in some cases to $readini(), $ini() should ignore empty entries
- Status changed from New to Resolved
Actions