mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Merge pull request #1159 from jygaulier/3.8-PHRAS-5
[3.8][PHRAS-5] Some subdefs are not generated
This commit is contained in:
@@ -1195,7 +1195,7 @@ class record_adapter implements record_Interface, cache_cacheableInterface
|
||||
{
|
||||
$connbas = connection::getPDOConnection($this->app, $this->get_sbas_id());
|
||||
$sql = 'UPDATE record
|
||||
SET jeton = ' . (JETON_WRITE_META_DOC | JETON_WRITE_META_SUBDEF) . '
|
||||
SET jeton = jeton | (' . (JETON_WRITE_META_DOC | JETON_WRITE_META_SUBDEF) . ')
|
||||
WHERE record_id= :record_id';
|
||||
$stmt = $connbas->prepare($sql);
|
||||
$stmt->execute(array(':record_id' => $this->record_id));
|
||||
|
Reference in New Issue
Block a user