| @@ -248,9 +248,9 @@ | ||
| 248 | 248 | // Save each setting individually using the Settings class |
| 249 | 249 | // This ensures proper encryption for sensitive verification codes |
| 250 | 250 | foreach ($settings as $key => $value) { |
| 251 | 251 | // Only save if the key is in our allowed lists and has a value |
| 252 | - if (in_array($key, array_merge($this->public_keys, $this->sensitive_keys)) && !empty($value)) { | |
| 252 | + if (in_array($key, array_merge($this->public_keys, $this->sensitive_keys), true) && !empty($value)) { | |
| 253 | 253 | if (!$this->settings->set($key, $value)) { |
| 254 | 254 | $success = false; |
| 255 | 255 | } |
| 256 | 256 | } |