Skip to content

Commit 9ba4584

Browse files
committed
fix method call to ElementTexts when updating
1 parent 100714a commit 9ba4584

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

VraCorePlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public function hookUpgrade($args)
195195

196196
$vraIdElement = $db->getTable('Element')->findByElementSetNameAndElementName('VRA Core', 'ID');
197197
if($vraIdElement) {
198-
$vraIdElTexts = $db->getTable('ElementText')->findByElementId($vraIdElement->id);
198+
$vraIdElTexts = $db->getTable('ElementText')->findByElement($vraIdElement->id);
199199
foreach($vraIdElTexts as $vraIdElText) {
200200
$vraIdElText->delete();
201201
}

0 commit comments

Comments
 (0)