mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 21:43:18 +00:00
Fix fatal error
This commit is contained in:
@@ -387,9 +387,9 @@ class Edit implements ControllerProviderInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
$record
|
$record
|
||||||
|
->write_metas()
|
||||||
->get_collection()
|
->get_collection()
|
||||||
->reset_stamp($record->get_record_id())
|
->reset_stamp($record->get_record_id());
|
||||||
->write_metas();
|
|
||||||
|
|
||||||
if ($statbits != '') {
|
if ($statbits != '') {
|
||||||
$app['phraseanet.logger']($record->get_databox())
|
$app['phraseanet.logger']($record->get_databox())
|
||||||
@@ -401,7 +401,7 @@ class Edit implements ControllerProviderInterface
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $app['twig']->render('prod/actions/edit_default.html.twig', array('edit' => $editing, 'message' => ''));
|
return $app->json(array('success' => true));
|
||||||
});
|
});
|
||||||
|
|
||||||
return $controllers;
|
return $controllers;
|
||||||
|
Reference in New Issue
Block a user