diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-24 19:58:35 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-24 19:58:35 +0000 |
commit | 19ecd42bcc8f3da1cdfce989126f009cb7b990d0 (patch) | |
tree | 9f94a1c3c740462fdb26d4ffbbc7b7c06c869390 /update/plugin/phpBB3 | |
parent | 2795a0f652f0160ead045830f422fae3ac08c706 (diff) | |
download | instadisc-19ecd42bcc8f3da1cdfce989126f009cb7b990d0.tar.gz instadisc-19ecd42bcc8f3da1cdfce989126f009cb7b990d0.tar.bz2 instadisc-19ecd42bcc8f3da1cdfce989126f009cb7b990d0.zip |
Update: Revert two accidental edits in phpBB3
Similar to [15], but not quite Refs #7, #39
Diffstat (limited to 'update/plugin/phpBB3')
-rw-r--r-- | update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php | 4 |
1 files 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'); | |||
24 | function sendItem($title, $userID, $url, $fourm) | 24 | function sendItem($title, $userID, $url, $fourm) |
25 | { | 25 | { |
26 | global $config, $db, $phpbb_root_path; | 26 | global $config, $db, $phpbb_root_path; |
27 | $verID = rand(1,65536); | 27 | $verID = rand(1,2147483647); |
28 | 28 | ||
29 | $da = array('user_id' => $userID); | 29 | $da = array('user_id' => $userID); |
30 | $getuser = "SELECT * FROM " . USERS_TABLE . " WHERE " . $db->sql_build_array('SELECT', $da); | 30 | $getuser = "SELECT * FROM " . USERS_TABLE . " WHERE " . $db->sql_build_array('SELECT', $da); |
@@ -33,7 +33,7 @@ function sendItem($title, $userID, $url, $fourm) | |||
33 | $db->sql_freeresult($getuser2); | 33 | $db->sql_freeresult($getuser2); |
34 | $author = $getuser3['username']; | 34 | $author = $getuser3['username']; |
35 | 35 | ||
36 | $url = html_entity_decode(str_replace($phpbb_root_path, generate_board_url() . '/', $url)); | 36 | $url = str_replace($phpbb_root_path, generate_board_url() . '/', $url); |
37 | 37 | ||
38 | $da = array('forum_id' => $fourm); | 38 | $da = array('forum_id' => $fourm); |
39 | $getfourm = "SELECT * FROM " . FORUMS_TABLE . " WHERE " . $db->sql_build_array('SELECT', $da); | 39 | $getfourm = "SELECT * FROM " . FORUMS_TABLE . " WHERE " . $db->sql_build_array('SELECT', $da); |