Merge pull request #1338 from annando/1501-global-contacts
Added "about" to noscrape
This commit is contained in:
commit
677f46c076
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