diff --git a/bin/vmail-roundcubemail-settings-import.php b/bin/vmail-roundcubemail-settings-import.php index 14c4fbd..1c2f84b 100755 --- a/bin/vmail-roundcubemail-settings-import.php +++ b/bin/vmail-roundcubemail-settings-import.php @@ -17,7 +17,7 @@ if ($virtualhost == "") { } if (is_readable("/var/vmail/$virtualhost/.exp/roundcubemail.json")) { - $roundcubemail = json_decode(file_get_contents("/var/vmail/$virtualhost/.exp/roundcubemail.json")); + $roundcubemail = json_decode(file_get_contents("/var/vmail/$virtualhost/.exp/roundcubemail.json"), TRUE); } else { echo "$virtualhost roundcubemail file does not exist or is not readable by you\n"; exit;