rename MaxArchiveSize to ArchiveMediaSize
[BackupPC.git] / lib / BackupPC / CGI / BurnMedia.pm
index 7d7eff3..1dc83a1 100644 (file)
@@ -66,9 +66,9 @@ EOF
                        } 
                }
 
                        } 
                }
 
-               if ($total_size > ($Conf{MaxArchiveSize} * $parts)) {
+               if ($total_size > ($Conf{ArchiveMediaSize} * $parts)) {
                        $cont .= eval( q{ ${h2(Error)}});
                        $cont .= eval( q{ ${h2(Error)}});
-                       $cont .= "Selected backups size " . sprintf("%1.2f", $total_size / 1024) ." Kb exceed max archive size " . sprintf("%1.2f", $Conf{MaxArchiveSize} / 1024) ." Kb.";
+                       $cont .= "Selected backups size " . sprintf("%1.2f", $total_size / 1024) ." Kb exceed max archive size " . sprintf("%1.2f", $Conf{ArchiveMediaSize} / 1024) ." Kb.";
                } elsif ($total_size == 0) {
                        $cont .= eval( q{ ${h2(Error)}});
                        $cont .= "No backups selected.";
                } elsif ($total_size == 0) {
                        $cont .= eval( q{ ${h2(Error)}});
                        $cont .= "No backups selected.";