Skip to content

Commit 6159c69

Browse files
author
Miika Arponen
committed
Minor bug fix to strtodate helper
1 parent 70c604e commit 6159c69

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: dustpress.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Author: Miika Arponen & Ville Siltala / Geniem Oy
77
Author URI: http://www.geniem.com
88
License: GPLv3
9-
Version: 1.0.6
9+
Version: 1.0.7
1010
*/
1111

1212
final class DustPress {

Diff for: helpers/strtodate.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
class Strtodate extends Helper {
55
public function output() {
6-
$value = $params->value;
7-
$format = $params->format;
8-
$now = $params->now;
6+
$value = $this->params->value;
7+
$format = $this->params->format;
8+
$now = $this->params->now;
99

1010
return date( $format, strtotime( $value, $now ) );
1111
}

0 commit comments

Comments
 (0)