aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index b30d9ae49..a0c1abf90 100755
--- a/boot.php
+++ b/boot.php
@@ -1614,6 +1614,13 @@ function profile_load(&$a, $nickname, $profile = '') {
$r[0]['keywords'] = $x[0]['keywords'];
}
+ if($r[0]['keywords']) {
+ $keywords = str_replace(array('#',',',' ',',,'),array('',' ',',',','),$R[0]['keywords']);
+ if(strlen($keywords))
+ $a->page['htmlhead'] .= '<meta name="keywords" content="' . htmlentities($keywords,ENT_COMPAT,'UTF-8') . '" />' . "\r\n" ;
+
+ }
+
$a->profile = $r[0];
$a->profile_uid = $r[0]['profile_uid'];