]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Contact.php
Fixed E_NOTICEs when uploading profile picture (#5456)
[friendica.git] / src / Model / Contact.php
index 84580b0898997cba66222e95bcac51353ac992a4..f8957c8a63c8debc02c01082772d453d68114fe7 100644 (file)
@@ -216,7 +216,7 @@ class Contact extends BaseObject
                $update = false;
 
                foreach ($fields as $field => $content) {
-                       if ($self[$field] != $content) {
+                       if (isset($self[$field]) && $self[$field] != $content) {
                                $update = true;
                        }
                }