From 8588850d45f194fcbae8d4f123c730e6c86f925e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 29 Mar 2001 20:14:49 +0000 Subject: - forgot to remove a debug statement --- node.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node.php') diff --git a/node.php b/node.php index 79f4b4a87..996e2cfc5 100644 --- a/node.php +++ b/node.php @@ -20,7 +20,7 @@ function node_history($node) { return $output; } -$number = ($title ? db_result(db_query("SELECT COUNT(nid) FROM node WHERE title = '$title' AND status = $status[posted]", 1)) : 1); +$number = ($title ? db_result(db_query("SELECT COUNT(nid) FROM node WHERE title = '$title' AND status = $status[posted]")) : 1); if ($number > 1) { $result = db_query("SELECT n.*, u.userid FROM node n LEFT JOIN users u ON n.author = u.id WHERE n.title = '$title'"); -- cgit v1.2.3