fix revision check problem in autoinstall

This commit is contained in:
Daniel Seifert 2013-10-25 19:44:17 +00:00
parent b1a2e839eb
commit f9506dd408

View File

@ -259,10 +259,14 @@ mM9';
$aWhere = array( $aWhere = array(
'oxmodid' => $this->sModKey, 'oxmodid' => $this->sModKey,
'oxshopid' => $oShop->getId(), 'oxshopid' => $oShop->getId(),
'oxnewrevision' => $this->sModRevision,
); );
if ($this->_checkTableItemNotExist('d3_cfg_mod', $aWhere)) if ($this->_checkTableItemNotExist('d3_cfg_mod', $aWhere))
{ {
// update don't use this property
unset($aWhere['oxnewrevision']);
$aInsertFields = array( $aInsertFields = array(
array ( array (
'fieldname' => 'OXID', 'fieldname' => 'OXID',