mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 01:42:29 +02:00
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:
+6
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user