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