X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fstatistics%2Fsrc%2FNodeStatisticsDatabaseStorage.php;h=dcb69833e866269e67218ce10aaf86013f3a920d;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=0cccb1700b61238d46d8a9cb30bc14eb9b3917a4;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/statistics/src/NodeStatisticsDatabaseStorage.php b/web/core/modules/statistics/src/NodeStatisticsDatabaseStorage.php index 0cccb1700..dcb69833e 100644 --- a/web/core/modules/statistics/src/NodeStatisticsDatabaseStorage.php +++ b/web/core/modules/statistics/src/NodeStatisticsDatabaseStorage.php @@ -131,7 +131,7 @@ class NodeStatisticsDatabaseStorage implements StatisticsStorageInterface { public function maxTotalCount() { $query = $this->connection->select('node_counter', 'nc'); $query->addExpression('MAX(totalcount)'); - $max_total_count = (int)$query->execute()->fetchField(); + $max_total_count = (int) $query->execute()->fetchField(); return $max_total_count; }