X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fhistory%2Fsrc%2FController%2FHistoryController.php;h=c6a48349038767cd46e675e9752490b52c5b67aa;hb=4f1b9b4ab48a8498afac9e2213a02a23ccf4a06c;hp=6a4e80a2389280da3b65ccb6e39a784a95ddb1dc;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/history/src/Controller/HistoryController.php b/web/core/modules/history/src/Controller/HistoryController.php index 6a4e80a23..c6a483490 100644 --- a/web/core/modules/history/src/Controller/HistoryController.php +++ b/web/core/modules/history/src/Controller/HistoryController.php @@ -51,7 +51,7 @@ class HistoryController extends ControllerBase { // Update the history table, stating that this user viewed this node. history_write($node->id()); - return new JsonResponse((int)history_read($node->id())); + return new JsonResponse((int) history_read($node->id())); } }