Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions recipient_to_contact/recipient_to_contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public function save_contacts()
$response = array();

// get request data (all contacts we want to save)
$contacts = get_input_value('_contacts', RCUBE_INPUT_POST);
$contacts = rcube_utils::get_input_value('_contacts', rcube_utils::INPUT_POST);

// iterate over each contact, validate and create new permament contacts
foreach ($contacts as $key => $contact) {
Expand Down Expand Up @@ -338,7 +338,7 @@ public function prefs_save($args)
// ensure that we are in the relevant section
if ($args['section'] == 'recipienttocontact') {
// check if the plugin has been activated or deactivated
if (get_input_value('_use_recipienttocontact', RCUBE_INPUT_POST) !== null) {
if (rcube_utils::get_input_value('_use_recipienttocontact', rcube_utils::INPUT_POST) !== null) {
$args['prefs']['use_recipienttocontact'] = true;
} else {
$args['prefs']['use_recipienttocontact'] = false;
Expand Down Expand Up @@ -383,9 +383,9 @@ protected function get_addressbooks(array $ids, $writable = false)
public function get_addressbook_groups() {

// get addressbook's id from request
$address_book_id = get_input_value('address_book_id', RCUBE_INPUT_POST);
$address_book_id = rcube_utils::get_input_value('address_book_id', rcube_utils::INPUT_POST);
// get key from request. Key identifies the row wich sent the request
$key = get_input_value('key', RCUBE_INPUT_POST);
$key = rcube_utils::get_input_value('key', rcube_utils::INPUT_POST);

// get addressbook by id
$rcube_contacts = $this->rcmail->get_address_book($address_book_id);
Expand Down