diff --git a/src/applications/phame/editor/PhamePostEditor.php b/src/applications/phame/editor/PhamePostEditor.php index 845538dc12..9dea9692bf 100644 --- a/src/applications/phame/editor/PhamePostEditor.php +++ b/src/applications/phame/editor/PhamePostEditor.php @@ -32,6 +32,12 @@ final class PhamePostEditor if ($object->isDraft() || ($object->isArchived())) { return false; } + foreach ($xactions as $xaction) { + switch ($xaction->getTransactionType()) { + case PhamePostViewsTransaction::TRANSACTIONTYPE: + return false; + } + } return true; }