| Project: | Ubercart Contributions |
| Component: | Code |
| Category: | |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | patch (needs review) |
Description
Project:
Ubercart I mentioned this on the Drupal tracker (http://drupal.org/node/349569) but I wasn't sure which gets read so I thought I'd repost it here.
In _ca_conditions_form_condition, ca.admin.inc line 846:
'#default_value' => $action['#argument_map'][$key],
references an out of scope variable ($action).
It looks like it should be:
'#default_value' => $condition['#argument_map'][$key],
This causes conditionals to always show the first argument as the selected one.
Version:
Ubercart 2.0-beta1 | Preview | Attachment | Size |
|---|---|---|
| argument_default_value.patch | 418 bytes |
