Skip to content

Commit

Permalink
Fix class_key in modDocument constructor (#16452)
Browse files Browse the repository at this point in the history
  • Loading branch information
halftrainedharry authored Jul 20, 2023
1 parent aed303b commit 8a6b6bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/Revolution/modDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class modDocument extends modResource
function __construct(& $xpdo)
{
parent:: __construct($xpdo);
$this->set('class_key', 'modDocument');
$this->set('class_key', self::class);
$this->showInContextMenu = true;
}

Expand Down

0 comments on commit 8a6b6bd

Please sign in to comment.