Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / tracker / tracker.module
index bf40dc1e8dc742115b1e6d1be6c3c9de4807bd8b..dadefecabc8ee66c09f2950c0ef1fef8b683a12d 100644 (file)
@@ -72,7 +72,7 @@ function tracker_cron() {
       db_insert('tracker_node')
         ->fields([
           'nid' => $nid,
-          'published' => $node->isPublished(),
+          'published' => (int) $node->isPublished(),
           'changed' => $changed,
         ])
         ->execute();
@@ -81,7 +81,7 @@ function tracker_cron() {
       db_insert('tracker_user')
         ->fields([
           'nid' => $nid,
-          'published' => $node->isPublished(),
+          'published' => (int) $node->isPublished(),
           'changed' => $changed,
           'uid' => $node->getOwnerId(),
         ])