-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
[2.1.14] document number hook broken #1485
Comments
This does not make sense to me, as the try-catch should not change anything, and the hook is not even in those code lines. Can you further explain the problem? |
Yes it changes it ;) cause you moved the try catch inside the if clause ->
And so the Database update itself. |
That's not true. Check out the diff without whitespaces: b8fba25?w=1 The if statement is here since every version 2.x of Isotope: 53028b0#diff-0f55d18c670385e4d53dba5ad92a381aR1378 |
Hah! Now I realized the problem. You're right, sorry, my fault. |
@aschempp No problem. It is a bit tricky and took some time for me to see it too ;) |
Fixed in 2d2bae8 |
since b8fba25 the return value from the
$GLOBALS['ISO_HOOKS']['generateDocumentNumber']
is not used anymore.I have to save the value by my own cause saving of the value is moved inside of the try catch.
Otherwise my modified
document_number
would never be saved.The text was updated successfully, but these errors were encountered: