diff --git a/api/etemplate.php b/api/etemplate.php index f1009dc20f..4062ddf0b5 100644 --- a/api/etemplate.php +++ b/api/etemplate.php @@ -267,7 +267,7 @@ function send_template() if ($tag === 'et2-link-entry' && !empty($attrs['readonly']) || $tag === 'et2-link') { $tag = 'et2-link'; - $attrs['app'] = $attrs['only_app']; + $attrs['app'] = $attrs['app'] ?? $attrs['only_app']; unset($attrs['only_app'], $attrs['readonly']); } return "<$tag" . stringAttrs($attrs) . ">";