Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
justin.koh CreditAttribution: justin.koh commentedviews-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.
Comment #2
Golem07 CreditAttribution: Golem07 commentedMarvellous!
Thanks so much for the very quick fix. I don't think a patch is necessary since the change is so small.
Comment #3
joachim CreditAttribution: joachim commentedPlease don't mark an issue as fixed until it's actually been fixed in the code!
Comment #4
joachim CreditAttribution: joachim commented*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
Comment #5
Golem07 CreditAttribution: Golem07 commentedSorry about the status change and thank you again.
Comment #7
naught101 CreditAttribution: naught101 commented