Project

General

Profile

Bug #22732 » 14500_43_v2.diff

Administrator Admin, 2010-12-17 16:15

View differences:

tests/t3lib/matchcondition/t3lib_matchcondition_backend_testcase.php (working copy)
if ($table === $this->testTableName) {
return array(
'scope' => $this->testTableName,
'processed' => false,
'data' => array(
'pid' => 999,
),
......
* @param mixed $resource
* @return mixed
*/
public function determinePageIdByRecordDatabaseFetchCallback(&$resource) {
if (is_array($resource) && !$resource['processed'] && $resource['scope'] === $this->testTableName) {
$resource['processed'] = true;
public function determinePageIdByRecordDatabaseFetchCallback($resource) {
if (is_array($resource) && ($resource['scope'] === $this->testTableName)) {
return $resource['data'];
} else {
return FALSE;
(5-5/5)