diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-01-03 02:04:32 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-01-03 02:04:32 +1100 |
| commit | 714e531303d6406a41c9b3b82c7f14964028d133 (patch) | |
| tree | f0402fe459306930d56eb8b23321bc902ecda5ac /mod.php | |
| parent | cb4ebae191db86ab8bdb4414af9b0ea340a61caf (diff) | |
Changed years expire time to 365 days instead of 52 weeks
Diffstat (limited to 'mod.php')
| -rw-r--r-- | mod.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -381,7 +381,7 @@ if(preg_match('/^((\d+)\s?ye?a?r?s?)?\s?+((\d+)\s?we?e?k?s?)?\s?+((\d+)\s?da?y?s?)?((\d+)\s?ho?u?r?s?)?\s?+((\d+)?mi?n?u?t?e?s?)?\s?+((\d+)\s?se?c?o?n?d?s?)?$/', $_POST['length'], $m)) { if(isset($m[2])) { // Years - $expire += $m[2]*60*60*24*7*52; + $expire += $m[2]*60*60*24*365; } if(isset($m[4])) { // Weeks |
