From 19ecd42bcc8f3da1cdfce989126f009cb7b990d0 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 24 Aug 2008 19:58:35 +0000 Subject: Update: Revert two accidental edits in phpBB3 Similar to [15], but not quite Refs #7, #39 --- update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php b/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php index 02675ed..cfbe5d5 100644 --- a/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php +++ b/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php @@ -24,7 +24,7 @@ include($phpbb_root_path . 'includes/xmlrpc/xmlrpc.inc'); function sendItem($title, $userID, $url, $fourm) { global $config, $db, $phpbb_root_path; - $verID = rand(1,65536); + $verID = rand(1,2147483647); $da = array('user_id' => $userID); $getuser = "SELECT * FROM " . USERS_TABLE . " WHERE " . $db->sql_build_array('SELECT', $da); @@ -33,7 +33,7 @@ function sendItem($title, $userID, $url, $fourm) $db->sql_freeresult($getuser2); $author = $getuser3['username']; - $url = html_entity_decode(str_replace($phpbb_root_path, generate_board_url() . '/', $url)); + $url = str_replace($phpbb_root_path, generate_board_url() . '/', $url); $da = array('forum_id' => $fourm); $getfourm = "SELECT * FROM " . FORUMS_TABLE . " WHERE " . $db->sql_build_array('SELECT', $da); -- cgit 1.4.1