Skip to content

Commit

Permalink
fix static page url translation
Browse files Browse the repository at this point in the history
  • Loading branch information
mjauvin committed Dec 20, 2024
1 parent 5b3014d commit 2938f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion behaviors/TranslatablePage.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function __construct($model)
{
parent::__construct($model);

$this->model->bindEvent('model.afterFetch', function() {
$this->model->bindEventOnce('model.afterFetch', function() {
$this->translatableOriginals = $this->getModelAttributes();

if (!App::runningInBackend()) {
Expand Down

0 comments on commit 2938f52

Please sign in to comment.