@@ -153,6 +153,8 @@ |
||
| 153 | 153 | */ |
| 154 | 154 | function nav_ref_decode(?string $ref): ?string |
| 155 | 155 | { |
| 156 | - if (!$ref) return null; |
|
| 156 | + if (!$ref) { |
|
| 157 | + return null; |
|
| 158 | + } |
|
| 157 | 159 | return base64_decode(strtr($ref, '-_', '+/')) ?: null; |
| 158 | 160 | } |
| 159 | 161 | \ No newline at end of file |