You are here

function replace_vertical_bar_dot 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_vertical_bar_dot'
fb_permissions_facebook_permissions_settings_submit in fb_permissions/fb_permissions.module
Submit callback to save permissions to a variable.

File

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

Code

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