Closed (fixed)
Project:
Omniture Integration
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Oct 2007 at 15:13 UTC
Updated:
25 Oct 2007 at 12:22 UTC
Jump to comment: Most recent file
on line 94 the module throws an error if there are no omniture_vars. the code should be wrapped in
<?php
if ($omniture_vars) {
foreach ($omniture_vars as $variable => $value) {
$extra_variables .= "\nvar ".$variable.'="'. $value . '";';
}
}
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | omniture.module.patch | 828 bytes | StephenGWills |
Comments
Comment #1
gregglescan you provide that as a patch? http://drupal.org/patch/create
Also, it's best to use isset($omniture_vars)
Comment #2
StephenGWills commentedPatch attached as outlined in the thread.
Comment #3
gregglesThis patch doesn't apply against the "tip" of the DRUPAL-5 branch because this already got fixed and the code was slightly refactored. Can you update and confirm?
Be sure that you are using the DRUPAL-5 branch when you get it from CVS.
Comment #4
(not verified) commented