]> git.mxchange.org Git - friendica.git/blobdiff - mod/profiles.php
Merge pull request #1121 from Beanow/hotfix/bug-1105
[friendica.git] / mod / profiles.php
index 423804437ac62569e1f9712503f2bd48372dc995..6187e1c1e2e5aa5a2fbeee23fe17d52ecde58d50 100644 (file)
@@ -169,7 +169,7 @@ function profiles_post(&$a) {
 
                $profile_name = notags(trim($_POST['profile_name']));
                if(! strlen($profile_name)) {
-                       notify( t('Profile Name is required.') . EOL);
+                       notice( t('Profile Name is required.') . EOL);
                        return;
                }
 
@@ -560,10 +560,10 @@ function profile_activity($changed, $value) {
        if($i) {
 
                // give it a permanent link
-               q("update item set plink = '%s' where id = %d",
-                       dbesc($a->get_baseurl() . '/display/' . $a->user['nickname'] . '/' . $i),
-                       intval($i)
-               );
+               //q("update item set plink = '%s' where id = %d",
+               //      dbesc($a->get_baseurl() . '/display/' . $a->user['nickname'] . '/' . $i),
+               //      intval($i)
+               //);
 
                proc_run('php',"include/notifier.php","activity","$i");