diff options
| author | Carson Fleming <[email protected]> | 2025-01-02 02:52:46 -0800 |
|---|---|---|
| committer | Carson Fleming <[email protected]> | 2025-01-02 02:52:46 -0800 |
| commit | 2172be0949e44e003cf1d51166764ff791e48e1e (patch) | |
| tree | bcd5dc73cadbc7a7b39c1b01063c06f21779727b /inbox_settings.php | |
| parent | 53426101d116016733801f285575749ef535a882 (diff) | |
| download | rc-inbox-settings-2172be0949e44e003cf1d51166764ff791e48e1e.tar.gz | |
boolval is a devious trap it turns out
Diffstat (limited to 'inbox_settings.php')
| -rw-r--r-- | inbox_settings.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inbox_settings.php b/inbox_settings.php index d7fdc4b..ca806e0 100644 --- a/inbox_settings.php +++ b/inbox_settings.php @@ -238,7 +238,7 @@ class inbox_settings extends rcube_plugin { $this->rcmail->output->command( 'display_message', $this->gettext('keys_imported'), 'notice'); - return isset($_POST['refresh']) ? boolval($_POST['refresh']) : true; + return !isset($_POST['no_refresh']); } function render_import_ui() { |
