Added "about" to noscrape.
This commit is contained in:
parent
d6d7ba87a0
commit
04ab875a62
1 changed files with 13 additions and 13 deletions
|
@ -35,7 +35,7 @@ function noscrape_init(&$a) {
|
||||||
);
|
);
|
||||||
|
|
||||||
//These are optional fields.
|
//These are optional fields.
|
||||||
$profile_fields = array('pdesc', 'locality', 'region', 'postal-code', 'country-name', 'gender', 'marital');
|
$profile_fields = array('pdesc', 'locality', 'region', 'postal-code', 'country-name', 'gender', 'marital', 'about');
|
||||||
foreach($profile_fields as $field)
|
foreach($profile_fields as $field)
|
||||||
if(!empty($a->profile[$field])) $json_info["$field"] = $a->profile[$field];
|
if(!empty($a->profile[$field])) $json_info["$field"] = $a->profile[$field];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue