From: Davide Franco Date: Thu, 7 Jul 2011 21:35:26 +0000 (+0200) Subject: bacula-web: Changed paremeters value type (timestamp) in GetStoredFilesByJob() function X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e852082dfb7a634156d2e6a74a61b249fe5e59a0;p=bacula%2Fbacula bacula-web: Changed paremeters value type (timestamp) in GetStoredFilesByJob() function --- diff --git a/gui/bacula-web/includes/bweb.inc.php b/gui/bacula-web/includes/bweb.inc.php index 47a94db05e..2bbcb70127 100644 --- a/gui/bacula-web/includes/bweb.inc.php +++ b/gui/bacula-web/includes/bweb.inc.php @@ -618,9 +618,11 @@ class Bweb extends DB } - public function GetStoredFilesByJob( $jobname, $start_date, $end_date ) + public function GetStoredFilesByJob( $jobname, $start_timestamp, $end_timestamp ) { - $query = ''; + $query = ''; + $start_date = date( "Y-m-d H:i:s", $start_timestamp); + $end_date = date( "Y-m-d H:i:s", $end_timestamp); switch( $this->driver ) {