diff options
Diffstat (limited to 'phpBB/includes/mcp/mcp_notes.php')
-rwxr-xr-x | phpBB/includes/mcp/mcp_notes.php | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/phpBB/includes/mcp/mcp_notes.php b/phpBB/includes/mcp/mcp_notes.php index a1e230c21c..42a64055ce 100755 --- a/phpBB/includes/mcp/mcp_notes.php +++ b/phpBB/includes/mcp/mcp_notes.php @@ -1,14 +1,22 @@ <?php -/** +/** * * @package mcp * @version $Id$ -* @copyright (c) 2005 phpBB Group -* @license http://opensource.org/licenses/gpl-license.php GNU Public License +* @copyright (c) 2005 phpBB Group +* @license http://opensource.org/licenses/gpl-license.php GNU Public License * */ /** +* @ignore +*/ +if (!defined('IN_PHPBB')) +{ + exit; +} + +/** * mcp_notes * Displays notes about a user * @package mcp @@ -126,7 +134,7 @@ class mcp_notes if (check_form_key('mcp_notes')) { $sql = 'DELETE FROM ' . LOG_TABLE . ' - WHERE log_type = ' . LOG_USERS . " + WHERE log_type = ' . LOG_USERS . " AND reportee_id = $user_id $where_sql"; $db->sql_query($sql); |