1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

forum id not used in forum_viewthread anymore

This commit is contained in:
mrpete
2007-01-20 16:18:12 +00:00
parent fcccee928b
commit d631950d19
2 changed files with 9 additions and 9 deletions

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/forum_mod.php,v $
| $Revision: 1.2 $
| $Date: 2007-01-17 20:47:09 $
| $Author: e107steved $
| $Revision: 1.3 $
| $Date: 2007-01-20 16:15:57 $
| $Author: mrpete $
+----------------------------------------------------------------------------+
*/
@@ -80,7 +80,7 @@ function forum_delete_thread($thread_id) {
$pages = ((ceil($replies / $pref['forum_postspage']) -1) * $pref['forum_postspage']);
}
$url = e_BASE."forum_viewtopic.php?".$forum_id.".".$thread_parent.($pages ? ".$pages" : "");
$url = e_BASE."forum_viewtopic.php?".$thread_parent.($pages ? ".$pages" : "");
// set return url
return FORLAN_26;
} else {

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_conf.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:35:13 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2007-01-20 16:18:12 $
| $Author: mrpete $
+---------------------------------------------------------------+
*/
require_once("../../class2.php");
@@ -58,7 +58,7 @@ if (isset($_POST['deletepollconfirm'])) {
$thread_name = str_replace("[poll] ", "", $thread_name);
$sql->db_Update("forum_t", "thread_name='$thread_name' WHERE thread_id='$thread_id' ");
$message = FORLAN_5;
$url = e_PLUGIN."forum/forum_viewtopic.php?".$forum_id.".".$thread_id;
$url = e_PLUGIN."forum/forum_viewtopic.php?".$thread_id;
}
if (isset($_POST['move']))