Vergleich admin/forums.php - 1.2.9 - 1.2.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html
*

 * $Id: forums.php 3030 2007-04-26 00:19:47Z Tikitiki $

 * $Id: forums.php 3190 2007-07-06 16:47:37Z musicalmidget $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 868Zeile 868
		$new_forum['description'] = $db->escape_string($mybb->input['description']);
$new_forum['type'] = $type;
$new_forum['pid'] = intval($mybb->input['pid']);

		$new_forum['description'] = $db->escape_string($mybb->input['description']);
$new_forum['type'] = $type;
$new_forum['pid'] = intval($mybb->input['pid']);

 
		$new_forum['rulestitle'] = $db->escape_string($new_forum['rulestitle']);
$new_forum['rules'] = $db->escape_string($new_forum['rules']);

		
$db->insert_query(TABLE_PREFIX."forums", $new_forum);
$to = $db->insert_id();

		
$db->insert_query(TABLE_PREFIX."forums", $new_forum);
$to = $db->insert_id();

Zeile 895Zeile 897
		$new_forum['description'] = $db->escape_string($to_forum['description']);
$new_forum['pid'] = $db->escape_string($to_forum['pid']);
$new_forum['parentlist'] = $db->escape_string($to_forum['parentlist']);

		$new_forum['description'] = $db->escape_string($to_forum['description']);
$new_forum['pid'] = $db->escape_string($to_forum['pid']);
$new_forum['parentlist'] = $db->escape_string($to_forum['parentlist']);

 
		$new_forum['rulestitle'] = $db->escape_string($new_forum['rulestitle']);
$new_forum['rules'] = $db->escape_string($new_forum['rules']);


$db->update_query(TABLE_PREFIX."forums", $new_forum, "fid='{$to}'");
}


$db->update_query(TABLE_PREFIX."forums", $new_forum, "fid='{$to}'");
}