Project

General

Profile

Bug #10895 ยป array.patch

Tolleiv Nietsch, 2010-11-17 13:52

View differences:

Classes/Service/Workspaces.php (working copy)
* This joins the online version with the offline version as tables A and B
* Order by UID, mostly to have a sorting in the backend overview module which doesn't "jump around" when swapping.
*/
return $GLOBALS['TYPO3_DB']->exec_SELECTgetRows($fields, $from, $where, '', 'B.uid');
$res = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows($fields, $from, $where, '', 'B.uid');
return is_array($res) ? $res : array()
}
/**
......
$where .= t3lib_BEfunc::deleteClause($table, 'C');
$res = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows($fields, $from, $where, '', 'A.uid');
return $res;
return is_array($res) ? $res : array();
}
    (1-1/1)