Several bug fixes

* Batch Manager no longer have a php error
 * Intro Graph display the actual week when it's monday
 * fix the "groups" reserved word
 * History is now summarize on the stats pag access
 * New piwigo no longer have PHP error due to stats.php
This commit is contained in:
Zacharie
2020-06-16 12:20:04 +02:00
parent cb1d7522d8
commit 2e70ebf777
4 changed files with 27 additions and 6 deletions
+6 -1
View File
@@ -216,7 +216,7 @@ check_status(ACCESS_ADMINISTRATOR);
// | Refresh summary from details |
// +-----------------------------------------------------------------------+
//history_summarize();
history_summarize();
// +-----------------------------------------------------------------------+
// | Display statistics header |
@@ -242,6 +242,11 @@ $template->assign(
function set_missing_values($unit, $data, $keep_size=true, $firstDate = null, $lastDate = null)
{
if (count($data) <= 1)
{
return $data;
}
$limit = count($data);
$result = array();
if ($firstDate == null)