Commit 0ab659dc authored by jmontoya's avatar jmontoya

Adding trim in the ini_parser::get_ini_string() function

parent 35cc408f
......@@ -59,6 +59,8 @@ class ini_parser{
$content .= "[$section]\n";
foreach($data as $item => $value) {
if($item != ''){
$value = trim($value);
$item = trim($item);
$content .= "$item=$value\n";
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment