Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inicializace vydané faktury s autoload = false #26

Closed
thomasdv opened this issue Nov 8, 2021 · 2 comments
Closed

Inicializace vydané faktury s autoload = false #26

thomasdv opened this issue Nov 8, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@thomasdv
Copy link

thomasdv commented Nov 8, 2021

Dobrý den,

v případě, že se inicializuje faktura s autoload false, končí to chybou.

$inv = new FakturaVydana(531, ['autoload'=>false]);
File: .../spojenet/flexibee/src/AbraFlexi/RO.php:628

TypeError
preg_match() expects parameter 2 to be string, int given

ID faktury (integer) neprojde podmínkami v processInit když je autoload nastavený na false.

Podmínka v RO.php:628 by imho měla kontrolovat, jestli je $init string.

@Vitexus Vitexus self-assigned this Nov 9, 2021
@Vitexus Vitexus added the bug Something isn't working label Nov 9, 2021
@Vitexus Vitexus closed this as completed in 41bf7d4 Nov 9, 2021
@thomasdv
Copy link
Author

thomasdv commented Dec 1, 2021

Dobrý den @Vitexus, povedl by se prosím v nejbližší době nějaký release s opravou? Díky!

@Vitexus
Copy link
Collaborator

Vitexus commented Dec 1, 2021

Dobrý den @thomasdv omlouvám se za zpoždění. Váš release se již nese: https://github.com/Spoje-NET/php-abraflexi/releases/tag/2.19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants