]> git.mxchange.org Git - friendica.git/blobdiff - mod/profiles.php
modified: view/theme/smoothly/style.css
[friendica.git] / mod / profiles.php
index 975a8c21273278677be43fbe812959f5bd0f0ebb..74844ff42efad0d6fb5965316facf567a5461d7b 100644 (file)
@@ -48,10 +48,15 @@ function profiles_post(&$a) {
                        
                $name = notags(trim($_POST['name']));
 
+               if(! strlen($name)) {
+                       $name = '[No Name]';
+               }
+
                if($orig[0]['name'] != $name)
                        $namechanged = true;
 
 
+
                $pdesc = notags(trim($_POST['pdesc']));
                $gender = notags(trim($_POST['gender']));
                $address = notags(trim($_POST['address']));