Skip to content

Commit 0137a2f

Browse files
authored
Updating NewsfeedTable.php code with latest method
Updating code changed in #44090 to latest method
1 parent b022f2c commit 0137a2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

administrator/components/com_newsfeeds/src/Table/NewsfeedTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public function store($updateNulls = true)
177177
}
178178

179179
// Verify that the alias is unique
180-
$table = Table::getInstance('NewsfeedTable', __NAMESPACE__ . '\\', ['dbo' => $this->getDatabase()]);
180+
$table = new self($this->getDatabase());
181181

182182
if ($table->load(['alias' => $this->alias, 'catid' => $this->catid]) && ($table->id != $this->id || $this->id == 0)) {
183183
// Is the existing newsfeed trashed?

0 commit comments

Comments
 (0)