fix: enable backwards compatibility v1 rendering strategy
Some checks failed
tests / ci (push) Has been cancelled

This commit is contained in:
Benjamin Nussbaum 2026-02-21 11:34:30 +01:00
parent 5eb442d9d6
commit b8b6caba12
4 changed files with 45 additions and 6 deletions

View file

@ -738,8 +738,8 @@ class Plugin extends Model
}
}
// Append " (Copy)" to the name
$attributes['name'] = $this->name.' (Copy)';
// Append "_copy" to the name
$attributes['name'] = $this->name.'_copy';
// Set user_id - use provided userId or fall back to original plugin's user_id
$attributes['user_id'] = $userId ?? $this->user_id;