Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 480b5b1

Browse files
committed
Include empty XML tags
1 parent a4dfdc2 commit 480b5b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/xml_parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function __parse_block_into_array ()
4646
$value = $this->__parse_block_into_array();
4747
break;
4848
case 'complete':
49-
$value = $element['value'];
49+
$value = isset($element['value']) ? $element['value'] : '';
5050

5151
if (isset($attributes['encoding']) && $attributes['encoding'] == 'base64')
5252
$value = base64_decode($value);

0 commit comments

Comments
 (0)