Skip to content

Commit

Permalink
trim quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
loveorigami committed Mar 26, 2016
1 parent 83e024e commit ed43059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function actionIndex()
$layerClass = \Yii::$app->request->post('layerClass');
$options = \Yii::$app->request->post('options');

$layerClass = str_replace('"', '', $layerClass);
$layerClass = trim($layerClass, '"');

$wrapper = new Wrapper([
'layerClass' => $layerClass,
Expand Down

0 comments on commit ed43059

Please sign in to comment.