Closed Xon closed 10 years ago
I've integrated your tweak (just use null/false/true to avoid an extra variable). Thanks !
Thanks!
I used a similar approach in another request (using isset rather than checking null) which is much better than a separate variable.
Only do the class check once, not every time the hook is invoked.