FIX: fix content observer - ignore viewed
This commit is contained in:
@@ -42,6 +42,9 @@ class Content
|
|||||||
|
|
||||||
$normalFieldsEdited = 0;
|
$normalFieldsEdited = 0;
|
||||||
foreach ($fields as $field => $change) {
|
foreach ($fields as $field => $change) {
|
||||||
|
if ($field == 'viewed')
|
||||||
|
continue;
|
||||||
|
|
||||||
$history = [
|
$history = [
|
||||||
'user_id' => \Auth::user()->id,
|
'user_id' => \Auth::user()->id,
|
||||||
'content_id' => $content->id,
|
'content_id' => $content->id,
|
||||||
|
|||||||
Reference in New Issue
Block a user