1
1
Fork 0

Added "about" to noscrape.

This commit is contained in:
Michael Vogel 2015-01-27 19:52:54 +01:00
parent d6d7ba87a0
commit 04ab875a62

View file

@ -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];