Zeile 106 | Zeile 106 |
---|
} break; case "merge":
|
} break; case "merge":
|
| // $delayedmoderation['tids'] should be a single tid
|
if(count($tids) != 1) {
|
if(count($tids) != 1) {
|
continue;
| continue 2;
|
}
// explode at # sign in a url (indicates a name reference) and reassign to the url
| }
// explode at # sign in a url (indicates a name reference) and reassign to the url
|
Zeile 166 | Zeile 167 |
---|
$mergetid = (int)$mergetid; $mergethread = get_thread($mergetid);
|
$mergetid = (int)$mergetid; $mergethread = get_thread($mergetid);
|
if(!$mergethread['tid'])
| if(!$mergethread)
|
{
|
{
|
continue;
| continue 2;
|
}
|
}
|
if($mergetid == $delayedmoderation['tid'])
| if($mergetid == $delayedmoderation['tids'])
|
{ // sanity check
|
{ // sanity check
|
continue;
| continue 2;
|
}
if($input['subject'])
| }
if($input['subject'])
|
Zeile 183 | Zeile 184 |
---|
} else {
|
} else {
|
$query = $db->simple_select("thread", "subject", "tid='{$delayedmoderation['tids']}'");
| $query = $db->simple_select("threads", "subject", "tid='{$delayedmoderation['tids']}'");
|
$subject = $db->fetch_field($query, "subject"); }
| $subject = $db->fetch_field($query, "subject"); }
|