Skip to content

Commit

Permalink
See changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
leigeber committed May 8, 2014
1 parent e843c66 commit 209a1a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions system/expressionengine/third_party/helpvars/ext.helpvars.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ public function template_fetch_template()
array_pop($segments);
}

$data['last_segment_primary'] = end($segments);

// Loop through segments and set default data
foreach ($segments as $num => $seg) {
$data['segment_' . $num . '_category_id'] = '';
Expand Down

0 comments on commit 209a1a6

Please sign in to comment.