diff options
| author | czaks <marcin@6irc.net> | 2014-01-04 18:18:35 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-01-04 18:18:35 +0100 |
| commit | 4202e8123deb8485b64c3ff9ef65e8f5b8c29b24 (patch) | |
| tree | dededcc3e2936fbcadcb26aa32d8755eaef2618e /templates/themes | |
| parent | b36cb115ae467f708a1d42839eacca01273d81bf (diff) | |
sitemap theme: fix php notice
Diffstat (limited to 'templates/themes')
| -rw-r--r-- | templates/themes/sitemap/theme.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/themes/sitemap/theme.php b/templates/themes/sitemap/theme.php index 1e36422d..3e048dd5 100644 --- a/templates/themes/sitemap/theme.php +++ b/templates/themes/sitemap/theme.php @@ -14,7 +14,7 @@ if ($action != 'post-thread' && $action != 'post-delete') return; - if ($settings['regen_time'] > 0) { + if (isset($settings['regen_time']) && $settings['regen_time'] > 0) { if ($last_gen = @filemtime($settings['path'])) { if (time() - $last_gen < (int)$settings['regen_time']) return; // Too soon |
