Skip to content

Commit 3d36491

Browse files
committed
Update admin_sitemap.php
1 parent ab34318 commit 3d36491

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin/admin_sitemap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
require(INC_DIR .'functions_selects.php');
1111

12-
$sql = "SELECT * FROM " . BB_CONFIG;
12+
$sql = "SELECT * FROM " . BB_CONFIG . " WHERE config_name IN('sitemap_time', 'static_sitemap')";
1313

1414
if (!$result = DB()->sql_query($sql))
1515
{
@@ -49,4 +49,4 @@
4949
'MESSAGE' => $message,
5050
));
5151

52-
print_page('admin_sitemap.tpl', 'admin');
52+
print_page('admin_sitemap.tpl', 'admin');

0 commit comments

Comments
 (0)