Skip to content

Commit

Permalink
Merge pull request #5 from contao-estatemanager/develop
Browse files Browse the repository at this point in the history
Bugfix: Wrong field name renamed to prevent delete reference records …
  • Loading branch information
eki89 authored Jul 24, 2020
2 parents b7c51d3 + 3651d5c commit b632501
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
]
},
"extra":{
"branch-alias": {
"dev-master": "1.0.x-dev"
},
"contao-manager-plugin": "ContaoEstateManager\\Reference\\ContaoManager\\Plugin"
}
}
2 changes: 1 addition & 1 deletion src/Resources/contao/classes/Reference.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function compileRealEstateExpose($objTemplate, $objRealEstate, $context)
*/
public function realEstateImportDeleteRecord($objRealEstate, $objProvider, &$preventDelete, $context)
{
if ($context->interface->dontDeleteRecords && $objRealEstate->referenz == '1')
if ($context->interface->dontDeleteReferences && $objRealEstate->referenz == '1')
{
$preventDelete = true;
}
Expand Down

0 comments on commit b632501

Please sign in to comment.