Vergleich admin/modules/config/mycode.php - 1.6.10 - 1.6.12

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 239Zeile 239

if(!$errors)
{


if(!$errors)
{

			$mycode = array(

			$updated_mycode = array(

				'title'	=> $db->escape_string($mybb->input['title']),
'description' => $db->escape_string($mybb->input['description']),
'regex' => $db->escape_string(str_replace("\x0", "", $mybb->input['regex'])),

				'title'	=> $db->escape_string($mybb->input['title']),
'description' => $db->escape_string($mybb->input['description']),
'regex' => $db->escape_string(str_replace("\x0", "", $mybb->input['regex'])),

Zeile 248Zeile 248
				'parseorder' => intval($mybb->input['parseorder'])
);


				'parseorder' => intval($mybb->input['parseorder'])
);


			$db->update_query("mycode", $mycode, "cid='".intval($mybb->input['cid'])."'");

			$db->update_query("mycode", $updated_mycode, "cid='".intval($mybb->input['cid'])."'");


$cache->update_mycode();



$cache->update_mycode();