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_xml = simplexml_load_file($place_index_filename);
|
||||||
|
|
||||||
$index_entry = null;
|
$index_entry = null;
|
||||||
foreach($index_xml->error_list as $entry) {
|
foreach($index_xml->error_list->error as $entry) {
|
||||||
if($entry->summary->__toString() != $new_report->summary)
|
var_dump($entry);
|
||||||
|
if($entry->filename->__toString() != basename($report_filename))
|
||||||
continue;
|
continue;
|
||||||
$index_entry = $entry;
|
$index_entry = $entry;
|
||||||
break;
|
break;
|
||||||
|
|
Reference in a new issue