Changeset 113

Show
Ignore:
Timestamp:
2007-12-25 21:45:31 (1 year ago)
Author:
hannes
Message:

Passing post ID instead of topic ID to redirectors/showip.php (ticket #64)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/classes/misc/Post.php

    r109 r113  
    8181        $_showip = ''; 
    8282        if ($SETTINGS['ip_logging'] == 1) { 
    83             $_showip = '<a href="javascript:void(0);" ' . "onclick=\"window.open('redirectors/showip.php?id=" . $id . "', 'ipwindow', 'width=200, height=150, scrollbars=yes');\">" . $LANG['IP'] . '</a> | '; 
     83            $_showip = '<a href="javascript:void(0);" ' . "onclick=\"window.open('redirectors/showip.php?id=" . $this->id . "', 'ipwindow', 'width=200, height=150, scrollbars=yes');\">" . $LANG['IP'] . '</a> | '; 
    8484        } 
    8585        // post header (time of post etc.)