@@ -119,7 +119,9 @@ |
||
| 119 | 119 | } |
| 120 | 120 | |
| 121 | 121 | // Security check |
| 122 | -if ($user->socid) $socid = $user->socid; |
|
| 122 | +if ($user->socid) { |
|
| 123 | + $socid = $user->socid; |
|
| 124 | +} |
|
| 123 | 125 | $result = restrictedArea($user, 'facture', $facid, ''); |
| 124 | 126 | |
| 125 | 127 | |