mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Fix story default image
This commit is contained in:
@@ -1105,8 +1105,20 @@ class record_adapter implements record_Interface, cache_cacheableInterface
|
||||
$stmt->execute(array(':record_id' => $this->get_record_id()));
|
||||
$stmt->closeCursor();
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
$subdef = $this->get_subdef($name);
|
||||
$subdef->delete_data_from_cache();
|
||||
}
|
||||
catch(Exception $e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
$this->delete_data_from_cache(self::CACHE_SUBDEFS);
|
||||
|
||||
|
||||
if ($meta_writable)
|
||||
{
|
||||
$this->write_metas();
|
||||
|
Reference in New Issue
Block a user