File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change
1
+ .phpintel /
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ public function updateAttributes(&$attributes) {
126
126
// Ignore if not using QuickAddNew
127
127
return ;
128
128
}
129
- // NOTE(Jake): This below comment will be necessary if
129
+ // NOTE(Jake): This below comment will be necessary if
130
130
// $this->owner->setForm($form); is needed in 'doAddNew'
131
131
/*$form = $this->owner->getForm();
132
132
if ($this->owner === $form->getController()) {
@@ -180,7 +180,7 @@ public function AddNewFormHTML()
180
180
**/
181
181
public function doAddNew ($ data , $ form )
182
182
{
183
- $ obj = Object ::create ($ this ->addNewClass );
183
+ $ obj = SS_Object ::create ($ this ->addNewClass );
184
184
if (!$ obj ->canCreate ()) {
185
185
return Security::permissionFailure (Controller::curr (), "You don't have permission to create this object " );
186
186
}
You can’t perform that action at this time.
0 commit comments