]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bacula-web/bweb.inc.php
bacula-web: Internal PHP code fix
[bacula/bacula] / gui / bacula-web / bweb.inc.php
index 8087e35983d1a18289959b0c599871a9782f454b..528d1e1420ea6b2a12306c9e39a473069e60c33e 100644 (file)
@@ -457,7 +457,7 @@ class Bweb extends DB {
                                        $total_elapsed += $time['elapsed'];
                                }
                                // Verify if elapsed time is more than 1 day
-                               if ( $total_elapsed > 86400 ) {
+                               if ( $total_elapsed > LAST_DAY ) {
                                        return date("%d days H:i:s", $total_elapsed );
                                }else {
                                        return date("H:i:s", $total_elapsed );