mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 23:55:26 +02:00
Bug fixes ...
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2716 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
0a5168ba6a
commit
a001b7762a
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
* admin_forums.php
|
* admin_forums.php
|
||||||
* -------------------
|
* -------------------
|
||||||
* begin : Thursday, Jul 12, 2001
|
* begin : Thursday, Jul 12, 2001
|
||||||
* copyright : (C) 2001 The phpBB Group
|
* copyright : (C) 2001 The phpBB Group
|
||||||
@ -8,7 +8,6 @@
|
|||||||
*
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
*
|
*
|
||||||
*
|
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
@ -494,7 +493,7 @@ if( !empty($mode) )
|
|||||||
// There is no problem having duplicate forum names so we won't check for it.
|
// There is no problem having duplicate forum names so we won't check for it.
|
||||||
//
|
//
|
||||||
$sql = "INSERT INTO " . CATEGORIES_TABLE . " (cat_title, cat_order)
|
$sql = "INSERT INTO " . CATEGORIES_TABLE . " (cat_title, cat_order)
|
||||||
VALUES ('" . $HTTP_POST_VARS['categoryname'] . "', $next_order)";
|
VALUES ('" . str_replace("\'", "''", $HTTP_POST_VARS['categoryname']) . "', $next_order)";
|
||||||
if( !$result = $db->sql_query($sql) )
|
if( !$result = $db->sql_query($sql) )
|
||||||
{
|
{
|
||||||
message_die(GENERAL_ERROR, "Couldn't insert row in categories table", "", __LINE__, __FILE__, $sql);
|
message_die(GENERAL_ERROR, "Couldn't insert row in categories table", "", __LINE__, __FILE__, $sql);
|
||||||
|
@ -538,4 +538,4 @@ else
|
|||||||
//
|
//
|
||||||
include('./page_footer_admin.'.$phpEx);
|
include('./page_footer_admin.'.$phpEx);
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
x
Reference in New Issue
Block a user