You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.
InterCom?_userapi_createhook function returns wrong value
at the end of the function there is
return true;
bug analysis
in the pnModCallHooks function the hokks are called sequentiell and the return value (extravalue [the name of the module]) from one hook is put into the next hook as arg value.
fix recommendation
the return value must be
return $args['extrainfo'];
The text was updated successfully, but these errors were encountered:
ccandreva
added a commit
to ccandreva/InterCom
that referenced
this issue
Jun 9, 2012
bug description
InterCom?_userapi_createhook function returns wrong value
at the end of the function there is
return true;
bug analysis
in the pnModCallHooks function the hokks are called sequentiell and the return value (extravalue [the name of the module]) from one hook is put into the next hook as arg value.
fix recommendation
the return value must be
return $args['extrainfo'];
The text was updated successfully, but these errors were encountered: