Skip to content

Commit

Permalink
removed echo error message remained by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
TeleMessage committed Oct 16, 2016
1 parent 60cdd6e commit ab5f14e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified grinfeld_phpjsonable.phar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/transformers/BeanTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function transform($obj, OutputStream $output, Configuration $conf) {
if ($refMethod->isPublic())
$val = $refMethod->invoke($obj);
} catch (\Exception $e) {}
if ($val == null) {
if (!isset($val)) {
$prop->setAccessible(true);
$val = $prop->getValue($obj);
}
Expand Down

0 comments on commit ab5f14e

Please sign in to comment.