diff --git a/inside/User.php b/inside/User.php index f8df04e..60e36fa 100644 --- a/inside/User.php +++ b/inside/User.php @@ -946,10 +946,10 @@ class User { public function getExpiryDate($year = null) { if($year) { - return $year . '-07-01'; + return $year . '-08-01'; } - if (date("m-d") > "07-01" ) + if (date("m-d") > "08-01" ) { return date("Y", strtotime("+1 year")) . '-08-01'; } @@ -1245,7 +1245,7 @@ class User { if ($this->expires == NULL) { print "livsvarig"; } else { - print (date("Y", strtotime($this->expires))); + print $this->expires; } } print " \n"; @@ -1257,6 +1257,7 @@ class User { print "\n"; print ""; print "