You are here

function replace_dot_vertical_bar in Facebook Autopost 7

Helper function to replace '|' for '.' since there are FB permissions that include a '.' and form api fails to submit them.

1 string reference to 'replace_dot_vertical_bar'
fb_permissions_facebook_permissions_settings in fb_permissions/fb_permissions.module
FAPI settings callback for Facebook app permissions.

File

fb_permissions/fb_permissions.module, line 155
Module implementation file.

Code

function replace_dot_vertical_bar($input) {
  return str_replace('.', '|', $input);
}