In the admin section I get the following error:

notice: Undefined offset: 1 in /path/to/drupal/sites/all/modules/ubercart/uc_store/uc_store.module on line 473.

In the file uc_store.module I can suppress this error by adding the following line (at approximately line 473).

switch ($parts[0]) {
case 'admin':
if (count($parts) < 2) { return; } **************** added this line *****************
if ($parts[1] != 'store') {
break;
}

CommentFileSizeAuthor
#2 admin_page_footer.patch1.25 KBIsland Usurper
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rszrama’s picture

Version: 6.x-2.0-beta3 » 6.x-2.0-beta4
Assigned: Unassigned » Island Usurper
Island Usurper’s picture

Status: Active » Fixed
FileSize
1.25 KB

I noticed another problem with the switch statement, so I fixed that, too, and added comments to help explain the logic of it.

Committed.

rszrama’s picture

Hooray for comments!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.