Project

General

Profile

Bug #21246 » 12200.diff

Administrator Admin, 2009-10-11 23:21

View differences:

typo3/mod/tools/em/class.em_index.php (working copy)
list($instExtInfo,)=$this->getInstalledExtensions();
$depStatus = $this->checkDependencies($extKey, $EM_CONF, $instExtInfo);
if(t3lib_extMgm::isLoaded($extKey) && !$depStatus['returnCode']) {
$this->content .= $depStatus['html'];
$depStatusHtml = $depStatus['html'];
if ($uploadedTempFile) {
$this->content .= '<input type="hidden" name="CMD[alreadyUploaded]" value="'.$uploadedTempFile.'" />';
// remove trailing </form>
$depStatusHtml = substr($depStatusHtml, 0, strrpos($depStatusHtml, '</form>'));
// .. and add it after the <input>
$depStatusHtml .= '<input type="hidden" name="CMD[alreadyUploaded]" value="'.$uploadedTempFile.'" /></form>';
}
$this->content .= $depStatusHtml;
} else {
$res = $this->clearAndMakeExtensionDir($fetchData[0],$loc,$dontDelete);
if (is_array($res)) {
(1-1/3)