Projekt

Allgemein

Profil

GX-Bug #58982 » fix_für_#58982.patch

Mirko Janssen, 17.09.2018 11:25

Unterschiede anzeigen:

src/gambio_installer/sql/gm_configuration.sql (date 1537176211000)
398 398
	('SHOW_PRODUCTS_MODEL_IN_SHOPPING_CART_AND_WISHLIST', 'false'),
399 399
	('SHOW_PRODUCTS_MODEL_IN_PRODUCT_DETAILS', 'true'),
400 400
	('SHOW_PRODUCTS_MODEL_IN_PRODUCT_LISTS', 'false'),
401
	('SHOW_RATING_AS_TAB', 'false');
401
	('SHOW_RATING_AS_TAB', 'false'),
402
	('PDF_FOOTER_REPLACE_COLUMN', 'null');
src/gambio_updater/updates/v3.11.1.0/dependent.inc.php (date 1537176258000)
163 163
{
164 164
    $this->addAdminAccessGroupItem($parcelServiceGroup, 'CONTROLLER', 'ParcelServicesApiV2');
165 165
    $this->addAdminAccessGroupItem($parcelServiceGroup, 'CONTROLLER', 'TrackingCodeApiV2');
166
}
167

  
168
// Add PDF_FOOTER_REPLACE_COLUMN configuration.
169
$check = $this->query('SELECT * FROM `gm_configuration` WHERE `gm_key` = "PDF_FOOTER_REPLACE_COLUMN"', true);
170
if($check->num_rows === 0)
171
{
172
	$query = 'INSERT INTO `gm_configuration` SET `gm_key`   = "PDF_FOOTER_REPLACE_COLUMN", `gm_value` = "null";';
173
	$t_success &= $this->query($query) > 0;
166 174
}
(1-1/2)