on_after_post hook returns correct value but database gets old value
I tried the on_after_hook on one of my project and it runs correctly but the returned value has no meaning.
It returns correct value whereas the database gets the default value not modified value
I am using version 1.
Comments
all is done except the name to be stored on database.
I will try other hooks for these.
I have used the assets to do so but the thing is:
multiple user login to the system and one user can delete the image uploaded by others.
If this has other solution it would be great.