Current time: 03-20-2010, 01:57 PM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Wrong reputation_end hook [C-Chris]
11-03-2008, 11:51 AM (This post was last modified: 11-09-2008 09:56 PM by Chris W B.)
Post: #1
[F] Wrong reputation_end hook [C-Chris]
In reputation PHP at the end:
PHP Code:
    eval("\$reputation = \"".$templates->get("reputation")."\";");
    
$plugins->run_hooks("reputation_end"); 

Shouldn't be:
PHP Code:
    $plugins->run_hooks("reputation_end");
    eval(
"\$reputation = \"".$templates->get("reputation")."\";"); 

I find no sense at all in putting a hook after that page is rendered. Big Grin

[Image: tatodev.host22.com]
Find all posts by this user
11-03-2008, 10:28 PM
Post: #2
[F] Wrong reputation_end hook
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user


Forum Jump: