Merge commit 'origin/master' into fusionax
[platal.git] / modules / profile / page.inc.php
index ec5e3eb..7c60a6d 100644 (file)
@@ -143,6 +143,7 @@ class ProfilePhones implements ProfileSetting
             if (@$phone['removed']) {
                 unset($value[$key]);
             } else {
+                unset($phone['removed']);
                 $phone['pub'] = $this->pub->value($page, 'pub', $phone['pub'], $s);
                 $phone['tel'] = $this->tel->value($page, 'tel', $phone['tel'], $s);
                 if(!isset($phone['type']) || ($phone['type'] != 'fixed' && $phone['type'] != 'mobile' && $phone['type'] != 'fax')) {