Well, this is quite a small thing, but important (I think).
In smf there is the createPost function that creates a post and puts the post ID inside the first array passed as parameter. But it doesn't show the topic ID, useful in some cases.
There will be quite simple to modify the function not to return a boolean value, but 0 in case of errors and the topic ID if TRUE.
What do you think?
(off course, I supposed that createPost is still there... If not, delete that post! :ph34r:)
In smf there is the createPost function that creates a post and puts the post ID inside the first array passed as parameter. But it doesn't show the topic ID, useful in some cases.
There will be quite simple to modify the function not to return a boolean value, but 0 in case of errors and the topic ID if TRUE.
What do you think?
(off course, I supposed that createPost is still there... If not, delete that post! :ph34r:)