File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class ProductData extends Service {
2929 const TYPE_DELTA = 'delta ' ;
3030
3131 /** @var string this name is reserved to mark products as delete */
32- private $ deleteFlagName = 'pup:isDelete ' ;
32+ private $ deleteFlagName = 'pup:isdeleted ' ;
3333
3434 /** @var bool was data already submitted? */
3535 private $ didSubmit = false ;
@@ -178,7 +178,7 @@ public function setPostLimit($limit) {
178178 * @param $isDelete bool flag if this product is a delete or insert
179179 * @throws Exceptions\ClientException
180180 */
181- private function addRow ($ row ,$ isDelete ) {
181+ private function addRow ($ row ,$ isDelete = false ) {
182182 if ($ this ->isArrayMultiDimensional ($ row )) {
183183 throw new Exceptions \ClientException ('please pass only one product/row at once, rows are not allowed to contain arrays ' );
184184 }
You can’t perform that action at this time.
0 commit comments