
04.03.2007, 00:03
|
|
Участник форума
Регистрация: 27.08.2006
Сообщений: 223
С нами:
10371202
Репутация:
341
|
|
файл inlinemod.php
Было это:
Код:
case 'domergethreads':
$vbulletin->input->clean_array_gpc('p', array(
'threadids' => TYPE_STR,
));
$threadids = explode(',', $vbulletin->GPC['threadids']);
foreach ($threadids AS $index => $threadid)
{
if (intval($threadid) == 0)
{
unset($threadids["$index"]);
}
else
{
$threadids["$index"] = intval($threadid);
}
}
if (empty($threadids))
{
eval(standard_error(fetch_error('you_did_not_select_any_valid_threads')));
}
if (count($threadids) > $threadlimit)
{
eval(standard_error(fetch_error('you_are_limited_to_working_with_x_threads', $threadlimit)));
}
break;
Стало это:
Код:
case 'domergethreads':
$vbulletin->input->clean_array_gpc('p', array(
'threadids' => TYPE_STR,
));
$threadids = explode(',', $vbulletin->GPC['threadids']);
foreach ($threadids AS $index => $threadid)
{
if ($threadids["$index"] != intval($threadid))
{
unset($threadids["$index"]);
}
}
if (empty($threadids))
{
eval(standard_error(fetch_error('you_did_not_select_any_valid_threads')));
}
if (count($threadids) > $threadlimit)
{
eval(standard_error(fetch_error('you_are_limited_to_working_with_x_threads', $threadlimit)));
}
break;
|
|
|