Uninitialized variable in uc_order_actions()

pfournier - July 3, 2009 - 17:31
Project:Ubercart
Version:6.x-2.0-rc3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

The $actions variable is not initialized in the uc_order_actions() function (file uc_order.module). This make the array_merge() fail at line 1762 when other modules return some actions.

AttachmentSize
uc_order.module.patch451 bytes

#1

pfournier - July 3, 2009 - 17:32
Status:active» needs review

#2

Island Usurper - July 3, 2009 - 20:43
Status:needs review» fixed

Good catch. Committed.

#3

System Message - July 17, 2009 - 20:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.