Fix report index updating
This commit is contained in:
parent
e5c0554282
commit
ce79fe9331
1 changed files with 3 additions and 2 deletions
|
@ -108,8 +108,9 @@ class Report extends \Sandpiper\AbstractAction
|
|||
$index_xml = simplexml_load_file($place_index_filename);
|
||||
|
||||
$index_entry = null;
|
||||
foreach($index_xml->error_list as $entry) {
|
||||
if($entry->summary->__toString() != $new_report->summary)
|
||||
foreach($index_xml->error_list->error as $entry) {
|
||||
var_dump($entry);
|
||||
if($entry->filename->__toString() != basename($report_filename))
|
||||
continue;
|
||||
$index_entry = $entry;
|
||||
break;
|
||||
|
|
Reference in a new issue