mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Tag isn't written
This commit is contained in:
parent
c45499b876
commit
ff5a5a33d0
@ -99,6 +99,7 @@ class GridFieldAddByDBField implements GridField_ActionProvider, GridField_HTMLP
|
||||
$obj->setCastedField($dbField, $data['gridfieldaddbydbfield'][$obj->ClassName][$dbField]);
|
||||
|
||||
if ($obj->canCreate()) {
|
||||
$obj->write();
|
||||
$id = $gridField->getList()->add($obj);
|
||||
if (!$id) {
|
||||
$gridField->setCustomValidationMessage(
|
||||
|
Loading…
Reference in New Issue
Block a user