
Eugene - 2008-10-03 15:56:30
If there are several tags with the same name, oner after another, the script will not correctly create values for tag, starting from #2 of this sequence.
Quick fix:
Change this part:
case 3:
$current[$this -> tag]['value'] = $this -> reader -> value;
To:
case 3:
// Multiple tags bug fix
if (is_array($current[$this -> tag][0])){
$current[$this -> tag][count($current[$this -> tag]) - 1]['value'] = $this -> reader -> value;
}else
$current[$this -> tag]['value'] = $this -> reader -> value;