Trim gateway config info
This commit is contained in:
parent
2fdf6c2814
commit
730108facc
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ class AccountGatewayController extends BaseController
|
|||
$config = clone $oldConfig;
|
||||
}
|
||||
|
||||
$publishableKey = Input::get('publishable_key');
|
||||
$publishableKey = trim(Input::get('publishable_key'));
|
||||
if ($publishableKey = str_replace('*', '', $publishableKey)) {
|
||||
$config->publishableKey = $publishableKey;
|
||||
} elseif ($oldConfig && property_exists($oldConfig, 'publishableKey')) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue