andrew55 Posted April 10, 2015 Share Posted April 10, 2015 I found this code here: https://gist.github.com/gabrielmerovingi/586b80adfca0a29f929b On line 19, there seems to be an error. In a couple editor’s I’ve tried, that line keeps get highlighted as an error. I've played around with the syntax, but I'm so new to php, I can't get it working. Any suggestions? Thanks for any help. Quote Link to comment Share on other sites More sharing options...
Solution cyberRobot Posted April 10, 2015 Solution Share Posted April 10, 2015 It looks like you're missing one of the closing parenthesis. Try // Only applicable to certain instances if ( ! in_array( $request['ref'], array( 'publishing_content', 'approved_comment', 'new_forum_topic', 'new_forum_reply' ) ) ) return $run; Quote Link to comment Share on other sites More sharing options...
andrew55 Posted April 12, 2015 Author Share Posted April 12, 2015 I should have seen this. Thank you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.