Ver Fonte

Fix operator precedence

Miraty há 2 anos atrás
pai
commit
a2ea572439
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      pg-view/ht/index.php

+ 1 - 1
pg-view/ht/index.php

@@ -44,7 +44,7 @@ else {
 	<h2>SFTP</h2>
 
 <?php
-$quota = ($_SESSION['type'] ?? '' === 'approved') ? CONF['ht']['user_quota_approved'] : CONF['ht']['user_quota_testing'];
+$quota = (($_SESSION['type'] ?? '') === 'approved') ? CONF['ht']['user_quota_approved'] : CONF['ht']['user_quota_testing'];
 ?>
 
 	<p>