Skip to content

Commit

Permalink
Make sure $rendered variable is set
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksip committed Jul 4, 2019
1 parent 7d2dafe commit 1f6c5d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/aleksip/DataTransformPlugin/DataTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ public function renderErrorHandler($errno, $errstr) {

protected function renderPattern($pattern, $data)
{
$rendered = '';
if (isset($this->patternDataStore[$pattern]['patternRaw'])) {
foreach (array_keys($data) as $key) {
$data = $this->cloneObjects($data, $key);
Expand Down

0 comments on commit 1f6c5d5

Please sign in to comment.