Browse Source

fix(maximum size): fixed condition maximum size

pull/1/head
Watiah11 6 months ago
parent
commit
ed924c7859
  1. 2
      app/Http/Controllers/Controller.php

2
app/Http/Controllers/Controller.php

@ -185,7 +185,7 @@ class Controller extends BaseController
$countCreate = true; $countCreate = true;
} }
if ($countCreate) { if ($countCreate && isset($maximumSize)) { // kondisi $maximumSize sementara karena blm ada paket enterprise
if (floatval($totalSize) > floatval($maximumSize)) { if (floatval($totalSize) > floatval($maximumSize)) {
$countCreate = false; $countCreate = false;
} }

Loading…
Cancel
Save