summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 78e42599f..f8c5a547d 100644
--- a/index.php
+++ b/index.php
@@ -2,7 +2,7 @@
include_once "includes/common.inc";
-if (variable_get(dev_timing, 0)) timer_start();
+if (variable_get("dev_timing", 0)) timer_start();
$result = db_query("SELECT nid FROM node WHERE promote = '1' AND status = '$status[posted]' AND timestamp <= ". ($date > 0 ? $date : time()) ." ". ($category ? "AND cid = '$category'" : "") ." ". ($topic ? "AND tid = '$topic'" : "") ." ORDER BY timestamp DESC LIMIT ". ($user->nodes ? $user->nodes : variable_get(default_nodes_main, 10)));
@@ -12,6 +12,6 @@ while ($node = db_fetch_object($result)) {
}
$theme->footer();
-if (variable_get(dev_timing, 0)) timer_print();
+if (variable_get("dev_timing", 0)) timer_print();
?>