Add consistency check on caption field values

This commit is contained in:
Romain Neutron
2012-03-21 11:58:24 +01:00
parent 0ecb391e8d
commit a43d764f3d
5 changed files with 127 additions and 34 deletions

View File

@@ -108,7 +108,7 @@ class cache_databox
$record = new \record_adapter($sbas_id, $row['value']);
$record->get_caption()->delete_data_from_cache();
foreach ($record->get_caption()->get_fields() as $field)
foreach ($record->get_caption()->get_fields(null, true) as $field)
{
$field->delete_data_from_cache();
}