Vergleich admin/modules/config/spiders.php - 1.8.1 - 1.8.21

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 38Zeile 38
		{
$new_spider = array(
"name" => $db->escape_string($mybb->input['name']),

		{
$new_spider = array(
"name" => $db->escape_string($mybb->input['name']),

				"theme" => (int)$mybb->input['theme'],

				"theme" => $mybb->get_input('theme', MyBB::INPUT_INT),

				"language" => $db->escape_string($mybb->input['language']),

				"language" => $db->escape_string($mybb->input['language']),

				"usergroup" => (int)$mybb->input['usergroup'],

				"usergroup" => $mybb->get_input('usergroup', MyBB::INPUT_INT),

				"useragent" => $db->escape_string($mybb->input['useragent']),
"lastvisit" => 0
);

				"useragent" => $db->escape_string($mybb->input['useragent']),
"lastvisit" => 0
);

Zeile 114Zeile 114

if($mybb->input['action'] == "delete")
{


if($mybb->input['action'] == "delete")
{

	$query = $db->simple_select("spiders", "*", "sid='".$mybb->get_input('sid', 1)."'");

	$query = $db->simple_select("spiders", "*", "sid='".$mybb->get_input('sid', MyBB::INPUT_INT)."'");

	$spider = $db->fetch_array($query);

// Does the spider not exist?

	$spider = $db->fetch_array($query);

// Does the spider not exist?

Zeile 155Zeile 155

if($mybb->input['action'] == "edit")
{


if($mybb->input['action'] == "edit")
{

	$query = $db->simple_select("spiders", "*", "sid='".$mybb->get_input('sid', 1)."'");

	$query = $db->simple_select("spiders", "*", "sid='".$mybb->get_input('sid', MyBB::INPUT_INT)."'");

	$spider = $db->fetch_array($query);

// Does the spider not exist?

	$spider = $db->fetch_array($query);

// Does the spider not exist?

Zeile 183Zeile 183
		{
$updated_spider = array(
"name" => $db->escape_string($mybb->input['name']),

		{
$updated_spider = array(
"name" => $db->escape_string($mybb->input['name']),

				"theme" => (int)$mybb->input['theme'],

				"theme" => $mybb->get_input('theme', MyBB::INPUT_INT),

				"language" => $db->escape_string($mybb->input['language']),

				"language" => $db->escape_string($mybb->input['language']),

				"usergroup" => (int)$mybb->input['usergroup'],

				"usergroup" => $mybb->get_input('usergroup', MyBB::INPUT_INT),

				"useragent" => $db->escape_string($mybb->input['useragent'])
);


				"useragent" => $db->escape_string($mybb->input['useragent'])
);