Broutilles et division par zero

This commit is contained in:
Alan Garcia 2012-08-21 12:53:29 +00:00
parent d6be8a9f63
commit 7cbe7f76d2
2 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,7 @@ $fields = array (
); );
getFields($fields); getFields($fields);
if ($submit) { if (!empty($submit)) {
$bro->SetPrefs($editsizex, $editsizey, $listmode, $showicons, $downfmt, $createfile, $showtype, $editor_font, $editor_size, $golastdir); $bro->SetPrefs($editsizex, $editsizey, $listmode, $showicons, $downfmt, $createfile, $showtype, $editor_font, $editor_size, $golastdir);
$error=_("Your preferences have been updated."); $error=_("Your preferences have been updated.");
include("bro_main.php"); include("bro_main.php");

View File

@ -240,6 +240,7 @@ else
} }
$totaltotal=$totalweb+$totallist+$totalmail+($totaldb/1024); // en Ko $totaltotal=$totalweb+$totallist+$totalmail+($totaldb/1024); // en Ko
if ($totaltotal==0) $totaltotal=1;
if ($cuid != 2000) if ($cuid != 2000)
{ {