]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Changed paremeters value type (timestamp) in GetStoredFilesByJob() function
authorDavide Franco <bacula-dev@dflc.ch>
Thu, 7 Jul 2011 21:35:26 +0000 (23:35 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:49:20 +0000 (14:49 +0200)
gui/bacula-web/includes/bweb.inc.php

index 47a94db05e4fe3a6afb6cfb4e9cf6c5ffe5cf511..2bbcb70127847ebe67ef61ef881e222c49819dcb 100644 (file)
@@ -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 )
                {