diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); ?> |