Hi,

I get the following notice when displaying a flipped table:
Notice: Undefined variable: header_row in include() (Zeile 30 von E:\xampp\htdocs\test\sites\all\modules\views_hacks\views_flipped_table\views-flipped-table.tpl.php).

Apart from this notice the view seems to display fine though.

Comments

justin.koh’s picture

views-flipped-table.tpl.php is assuming there will always be a $header_row variable passed from views_flipped_table.module.
Change line 30 from: <?php if ($header_row) : ?>
to: <?php if (!empty($header_row)) : ?>
Sorry I'm unsure how to submit a patch.

Golem07’s picture

Status: Active » Fixed

Marvellous!

Thanks so much for the very quick fix. I don't think a patch is necessary since the change is so small.

joachim’s picture

Status: Fixed » Active

Please don't mark an issue as fixed until it's actually been fixed in the code!

joachim’s picture

Status: Active » Fixed

*Now* we can mark it as fixed: I've committed the above change.

Please review how issue status values work!

@justin.koh: You can find out more about patches here: http://drupal.org/patch

Golem07’s picture

Sorry about the status change and thank you again.

Status: Fixed » Closed (fixed)

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

naught101’s picture

Project: Views Hacks » Views Flipped Table
Component: Views Flipped Table » Code