Merge pull request #1338 from annando/1501-global-contacts

Added "about" to noscrape
This commit is contained in:
Tobias Diekershoff 2015-02-02 21:52:09 +01:00
commit 677f46c076

View file

@ -35,7 +35,7 @@ function noscrape_init(&$a) {
);
//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)
if(!empty($a->profile[$field])) $json_info["$field"] = $a->profile[$field];