@@ -1770,7 +1770,9 @@ |
||
1770 | 1770 | $post_item_id |
1771 | 1771 | ); |
1772 | 1772 | foreach ($rows as $record) { |
1773 | - if ($record['raison'] === NULL) continue; |
|
1773 | + if ($record['raison'] === NULL) { |
|
1774 | + continue; |
|
1775 | + } |
|
1774 | 1776 | $reason = explode(':', $record['raison']); |
1775 | 1777 | if (count($reason) > 0) { |
1776 | 1778 | $sentence = date($SETTINGS['date_format'] . ' ' . $SETTINGS['time_format'], (int) $record['date']) . ' - ' |
@@ -1834,7 +1834,9 @@ |
||
1834 | 1834 | $record['id'], |
1835 | 1835 | $_SESSION['user_id'] |
1836 | 1836 | ); |
1837 | - if ($currentUserKey === null || count($currentUserKey) === 0) continue; |
|
1837 | + if ($currentUserKey === null || count($currentUserKey) === 0) { |
|
1838 | + continue; |
|
1839 | + } |
|
1838 | 1840 | |
1839 | 1841 | // Decrypt itemkey with admin key |
1840 | 1842 | $itemKey = decryptUserObjectKey($currentUserKey['share_key'], $_SESSION['user']['private_key']); |
@@ -2382,7 +2382,9 @@ |
||
2382 | 2382 | ], null, null, 'or')->get(); |
2383 | 2383 | |
2384 | 2384 | foreach($users as $i => $adUser) { |
2385 | - if (isset($adUser[$SETTINGS['ldap_user_attribute']]) === false) continue; |
|
2385 | + if (isset($adUser[$SETTINGS['ldap_user_attribute']]) === false) { |
|
2386 | + continue; |
|
2387 | + } |
|
2386 | 2388 | |
2387 | 2389 | // Build the list of all groups in AD |
2388 | 2390 | if (isset($adUser['memberof']) === true) { |