aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profiles.php
diff options
context:
space:
mode:
authorroot <root@diekershoff.homeunix.net>2010-12-21 07:14:58 +0100
committerroot <root@diekershoff.homeunix.net>2010-12-21 07:14:58 +0100
commit8cfa93b730f87edf98c52e9a38cfa015ce1f5d47 (patch)
treeda79ea09482cf8984c7d9e02076dd2e4f0e8e65e /mod/profiles.php
parentad32d85cfaa775efbd89b273bd51c82f4e45baab (diff)
parentddec422de6707809aceb541e1191073b43aec18a (diff)
downloadvolse-hubzilla-8cfa93b730f87edf98c52e9a38cfa015ce1f5d47.tar.gz
volse-hubzilla-8cfa93b730f87edf98c52e9a38cfa015ce1f5d47.tar.bz2
volse-hubzilla-8cfa93b730f87edf98c52e9a38cfa015ce1f5d47.zip
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'mod/profiles.php')
-rw-r--r--mod/profiles.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/profiles.php b/mod/profiles.php
index e675af2e4..e99e0f288 100644
--- a/mod/profiles.php
+++ b/mod/profiles.php
@@ -52,7 +52,7 @@ function profiles_post(&$a) {
$region = notags(trim($_POST['region']));
$postal_code = notags(trim($_POST['postal_code']));
$country_name = notags(trim($_POST['country_name']));
-
+ $keywords = notags(trim($_POST['keywords']));
$marital = notags(trim($_POST['marital']));
if($marital != $orig[0]['marital'])
$maritalchanged = true;
@@ -138,6 +138,7 @@ function profiles_post(&$a) {
`homepage` = '%s',
`politic` = '%s',
`religion` = '%s',
+ `keywords` = '%s',
`about` = '%s',
`interest` = '%s',
`contact` = '%s',
@@ -165,6 +166,7 @@ function profiles_post(&$a) {
dbesc($homepage),
dbesc($politic),
dbesc($religion),
+ dbesc($keywords),
dbesc($about),
dbesc($interest),
dbesc($contact),
@@ -369,6 +371,7 @@ function profiles_content(&$a) {
'$homepage' => $r[0]['homepage'],
'$politic' => $r[0]['politic'],
'$religion' => $r[0]['religion'],
+ '$keywords' => $r[0]['keywords'],
'$music' => $r[0]['music'],
'$book' => $r[0]['book'],
'$tv' => $r[0]['tv'],