Projekt

Allgemein

Profil

GX-Bug #44206 » AttributeQuantityFix.patch

/admin/orders_edit.php - Till Tepelmann, 10.12.2015 20:13

Unterschiede anzeigen:

src/admin/orders_edit.php (revision )
158 158
				set_shipping_status((int)$_POST['products_id']);
159 159
				
160 160
				// update attributes
161
				$t_sql = 'SELECT products_attributes_id 
161
				$t_sql = 'SELECT products_attributes_id
162 162
							FROM
163 163
								' . TABLE_ORDERS_PRODUCTS_ATTRIBUTES . ' o,
164 164
								' . TABLE_PRODUCTS_ATTRIBUTES . ' a
165 165
							WHERE
166 166
								o.options_id = a.options_id AND
167 167
								o.options_values_id = a.options_values_id AND
168
								a.products_id = "' . (int)$_POST['products_id'] . '"';
168
								a.products_id = "' . (int)$_POST['products_id'] . '"
169
								AND o.orders_id="' . (int)$_POST['oID'] . '"';
169 170
				$t_result = xtc_db_query($t_sql);
170 171
				while($t_result_array = xtc_db_fetch_array($t_result))
171 172
				{
    (1-1/1)