From e852082dfb7a634156d2e6a74a61b249fe5e59a0 Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Thu, 7 Jul 2011 23:35:26 +0200 Subject: [PATCH] bacula-web: Changed paremeters value type (timestamp) in GetStoredFilesByJob() function --- gui/bacula-web/includes/bweb.inc.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 ) { -- 2.39.5