|
|
@ -86,9 +86,9 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface |
|
|
|
) |
|
|
|
) |
|
|
|
) |
|
|
|
) |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
if (empty($result)) { |
|
|
|
if (empty($result)) { |
|
|
|
require_once api_get_path(LIBRARY_PATH).'extra_field.lib.php'; |
|
|
|
$extraField = new ExtraField('user'); |
|
|
|
$extraField = new Extrafield('user'); |
|
|
|
|
|
|
|
$extraField->save(array( |
|
|
|
$extraField->save(array( |
|
|
|
'field_type' => 1, |
|
|
|
'field_type' => 1, |
|
|
|
'field_variable' => 'area', |
|
|
|
'field_variable' => 'area', |
|
|
|