diff --git a/codepot/src/codepot/controllers/code.php b/codepot/src/codepot/controllers/code.php index fc38dd13..e8244627 100644 --- a/codepot/src/codepot/controllers/code.php +++ b/codepot/src/codepot/controllers/code.php @@ -1616,7 +1616,7 @@ class Code extends Controller while ($month <= $month_end) { $date = sprintf ("%04d-%02d", $year, $month); - + if (!array_key_exists ($date, $stats)) { // fill the holes diff --git a/codepot/src/codepot/controllers/graph.php b/codepot/src/codepot/controllers/graph.php index 19e35cec..7fd338f4 100644 --- a/codepot/src/codepot/controllers/graph.php +++ b/codepot/src/codepot/controllers/graph.php @@ -141,7 +141,6 @@ class Graph extends Controller print codepot_json_encode ($cloc); } - function enjson_loc_by_file ($projectid = '', $path = '', $rev = SVN_REVISION_HEAD) { $this->load->model ('ProjectModel', 'projects'); diff --git a/codepot/src/codepot/views/site_home.php b/codepot/src/codepot/views/site_home.php index 52f1c8dd..8a575648 100644 --- a/codepot/src/codepot/views/site_home.php +++ b/codepot/src/codepot/views/site_home.php @@ -24,6 +24,14 @@ + + + + + + + + @@ -285,7 +377,13 @@ foreach ($latest_projects as $project)