Project

General

Profile

Bug #24416 » 16846_followup.patch

Administrator Admin, 2011-01-01 20:12

View differences:

t3lib/class.t3lib_tcemain.php (Arbeitskopie)
if (!$forceRemapStackActions && !isset($this->remapStackRecords[$table][$id]) && !isset($this->remapStackChildIds[$id])) {
call_user_func_array($callback, $arguments);
} else {
$this->remapStackActions[] = array(
'affects' => array(
'table' => $table,
'id' => $id,
),
'callback' => $callback,
'arguments' => $arguments,
);
$this->addRemapAction($table, $id, $callback, $arguments);
}
}
/**
* Adds an instruction to the remap action stack (used with IRRE).
*
* @param string $table The affected table
* @param integer $id The affected ID
* @param array $callback The callback information (object and method)
* @param array $arguments The arguments to be used with the callback
* @return void
*/
public function addRemapAction($table, $id, array $callback, array $arguments) {
$this->remapStackActions[] = array(
'affects' => array(
'table' => $table,
'id' => $id,
),
'callback' => $callback,
'arguments' => $arguments,
);
}
/**
* Adds a table-id-pair to the reference index remapping stack.
*
* @param string $table
(3-3/3)