concardis / PHP_SDK

MIT License
3 stars 10 forks source link

Bug in \Concardis\Payengine\Lib\Internal\AbstractClass\AbstractResource::getOne() #10

Closed ARoddis closed 4 years ago

ARoddis commented 5 years ago

There is a bug in the Line \Concardis\Payengine\Lib\Internal\AbstractClass\AbstractResource:140.

The Method is called with NULL, which replaces the DefaultValue of the second parameter (which is an empty array) and then explodes as "count" expects something countable, not NULL.

grafik

And here:

grafik

kaihenkel commented 4 years ago

This BUG is fixed with the PULL-Request https://github.com/concardis/PHP_SDK/pull/13

kazemek commented 4 years ago

Thanks guys, will close it.