Bug #14945 » bug_1407.diff
/t3lib/class.t3lib_befunc.php 10 Sep 2005 17:57:21 -0000 | ||
---|---|---|
function deleteClause($table) {
|
||
global $TCA;
|
||
if ($TCA[$table]['ctrl']['delete']) {
|
||
return ' AND '.$table.'.'.$TCA[$table]['ctrl']['delete'].'=0';
|
||
return ' AND '.$table.'.'.$TCA[$table]['ctrl']['delete'].'=1';
|
||
} else {
|
||
return '';
|
||
}
|