Don't show saving error if no data changed

release-0.6
thomascube 14 years ago
parent 5c2f064882
commit 80809d6a9d

@ -154,7 +154,7 @@ class rcube_user
$this->language = $_SESSION['language'];
if ($this->db->affected_rows()) {
if ($this->db->affected_rows() !== false) {
$config->set_user_prefs($a_user_prefs);
$this->data['preferences'] = $save_prefs;
return true;

Loading…
Cancel
Save