Skip to content

Commit

Permalink
See changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
leigeber committed May 12, 2014
1 parent 121bf25 commit 5c72c1e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.3.1

2014-05-12

- Added default empty string values for common last_segment_x variables

# 1.3.0

2014-05-07
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Helpvars 1.3.0
# Helpvars 1.3.1

A lightweight extension to make common segment and helper variables (such as segment_x_category_id) available globally.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"schema_version": "1.0",
"name" : "helpvars",
"label": "Helpvars",
"version": "1.3.0",
"version": "1.3.1",
"types": ["extension"],
"paths": {
"system": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class Helpvars_ext {

public $name = 'Helpvars';
public $version = '1.3.0';
public $version = '1.3.1';
public $description = 'Make various segment and helper variables available globally.';
public $docs_url = 'https://github.com/caddis/helpvars';
public $settings_exist = 'n';
Expand Down Expand Up @@ -80,6 +80,11 @@ public function template_fetch_template()
$data['paginated'] = false;
$data['not_paginated'] = true;
$data['last_segment_primary'] = '';
$data['last_segment_category_id'] = '';
$data['last_segment_category_name'] = '';
$data['last_segment_category_description'] = '';
$data['last_segment_category_image'] = '';
$data['last_segment_category_parent_id'] = '';

if (REQ == 'PAGE' and ! empty(ee()->uri->segments)) {
$cats = $segs = $groups = array();
Expand Down

0 comments on commit 5c72c1e

Please sign in to comment.