mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +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->execute(array(':record_id' => $this->get_record_id()));
|
||||||
$stmt->closeCursor();
|
$stmt->closeCursor();
|
||||||
|
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
$subdef = $this->get_subdef($name);
|
||||||
|
$subdef->delete_data_from_cache();
|
||||||
|
}
|
||||||
|
catch(Exception $e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
$this->delete_data_from_cache(self::CACHE_SUBDEFS);
|
$this->delete_data_from_cache(self::CACHE_SUBDEFS);
|
||||||
|
|
||||||
|
|
||||||
if ($meta_writable)
|
if ($meta_writable)
|
||||||
{
|
{
|
||||||
$this->write_metas();
|
$this->write_metas();
|
||||||
|
Reference in New Issue
Block a user