Skip to content

Commit

Permalink
fix for array params
Browse files Browse the repository at this point in the history
  • Loading branch information
bazilio91 committed Jul 16, 2015
1 parent 3cb73ff commit f153881
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion handlers/ConsoleHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function bootstrap($app)
function () use ($app) {
foreach ($app->requestedParams as $key => $value) {
$this->getAgent()->backgroundJob();
$this->getAgent()->addCustomParameter($key, (string)$value);
$this->getAgent()->addCustomParameter($key, var_export($value));
}
}
);
Expand Down
2 changes: 1 addition & 1 deletion handlers/WebHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function () use ($app, &$agent) {
Application::EVENT_AFTER_ACTION,
function () use ($app) {
foreach ($app->controller->actionParams as $key => $value) {
$this->getAgent()->addCustomParameter($key, (string)$value);
$this->getAgent()->addCustomParameter($key, var_export($value));
}
}
);
Expand Down

0 comments on commit f153881

Please sign in to comment.