Skip to content

Commit

Permalink
less warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
danslo committed Feb 11, 2015
1 parent e647345 commit 65a8510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/Model/Import/Entity/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ public function getNextBunch()
*/
public function getRowScope(array $rowData)
{
if (strlen(trim($rowData[self::COL_CATEGORY]))) {
if (isset($rowData[self::COL_CATEGORY]) && strlen(trim($rowData[self::COL_CATEGORY]))) {
return self::SCOPE_DEFAULT;
} elseif (empty($rowData[self::COL_STORE])) {
return self::SCOPE_NULL;
Expand Down

0 comments on commit 65a8510

Please sign in to comment.