Browse Source

Fix operator precedence

Miraty 2 năm trước cách đây
mục cha
commit
a2ea572439
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>