]> git.mxchange.org Git - ctracker.git/commitdiff
Must be id to have NULL counted, too.
authorRoland Häder <roland@mxchange.org>
Wed, 31 Aug 2016 07:17:27 +0000 (09:17 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 31 Aug 2016 07:17:27 +0000 (09:17 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
libs/lib_updates.php

index 94e4f4b952e326df3136b79c173fcf2fb64436ef..fd34fcc6c4159f32a70e8973b25d3a6d3c812867 100644 (file)
@@ -94,7 +94,7 @@ FOREIGN KEY ( `ctracker_data_id` ) REFERENCES `' . $GLOBALS['ctracker_dbname'] .
                // View for request methods
                8 => array(
                        'CREATE VIEW `view_most_request_methods` AS
-                       SELECT SQL_CALC_FOUND_ROWS COUNT(`request_method`) AS `total_rows`, `request_method`
+                       SELECT SQL_CALC_FOUND_ROWS COUNT(`id`) AS `total_rows`, `request_method`
                        FROM `ctracker_data`
                        GROUP BY `request_method`'
                ),