mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
issue #1917 add parameter is_download to pwg.history.log
This commit is contained in:
@@ -622,7 +622,13 @@ function ws_history_log($params, &$service)
|
||||
increase_image_visit_counter($params['image_id']);
|
||||
}
|
||||
|
||||
pwg_log($params['image_id'], 'picture');
|
||||
$image_type = 'picture';
|
||||
if ($params['is_download'])
|
||||
{
|
||||
$image_type = 'high';
|
||||
}
|
||||
|
||||
pwg_log($params['image_id'], $image_type);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user