Bug #23112 ยป em-review-state.diff
/var/www/html/trunk/typo3/mod/tools/em/class.em_xmlhandler.php (copie de travail) | ||
---|---|---|
function getReviewState($extKey, $version) {
|
||
$where = 'extkey='.$GLOBALS['TYPO3_DB']->fullQuoteStr($extKey, 'cache_extensions').' AND version='.$GLOBALS['TYPO3_DB']->fullQuoteStr($version, 'cache_extensions');
|
||
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('reviewstate', 'cache_extensions', $where);
|
||
$rc = 0;
|
||
if ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
|
||
return $row['reviewstate'];
|
||
$rc = $row['reviewstate'];
|
||
}
|
||
$GLOBALS['TYPO3_DB']->sql_free_result($res);
|
||
return 0;
|
||
return $rc;
|
||
}
|
||
/**
|