Vergleich admin/modules/config/smilies.php - 1.8.5 - 1.8.7

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 182Zeile 182
		else
{
$mybb->input['disporder'] = $mybb->get_input('disporder', MyBB::INPUT_INT);

		else
{
$mybb->input['disporder'] = $mybb->get_input('disporder', MyBB::INPUT_INT);

			$query = $db->simple_select("smilies", "sid", "disporder= '".$mybb->input['disporder']."' AND sid != '".$mybb->input['sid']."'");

			$query = $db->simple_select("smilies", "sid", "disporder= '".$mybb->input['disporder']."' AND sid != '".$smilie['sid']."'");

			$duplicate_disporder = $db->fetch_field($query, 'sid');

if($duplicate_disporder)

			$duplicate_disporder = $db->fetch_field($query, 'sid');

if($duplicate_disporder)

Zeile 212Zeile 212

$plugins->run_hooks("admin_config_smilies_edit_commit");



$plugins->run_hooks("admin_config_smilies_edit_commit");


			$db->update_query("smilies", $updated_smilie, "sid = '".$mybb->get_input('sid', MyBB::INPUT_INT)."'");

			$db->update_query("smilies", $updated_smilie, "sid = '{$smilie['sid']}'");


$cache->update_smilies();



$cache->update_smilies();