Skip to content

Commit 6ae2745

Browse files
fix typo
1 parent bef46bc commit 6ae2745

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/SavedSearch.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,11 @@ public function post_addItem()
220220
{
221221
// for search saved as public, automatically create a link with its entity
222222
if (isset($this->input['is_private']) && !$this->input['is_private']) {
223+
Toolbox::logInfo($this);
223224
$item = new Entity_SavedSearch();
224225
$item->add([
225226
'savedsearches_id' => $this->getID(),
226-
'entites_id' => $this->fields['entities_id'],
227+
'entities_id' => $this->fields['entities_id'],
227228
'is_recursive' => $this->fields['is_recursive']
228229
]);
229230
}

0 commit comments

Comments
 (0)