From 532233a9792c2495ba31d1f0b211d61ddec9ea6e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 20 May 2001 19:30:39 +0000 Subject: - Removed includes/timer.inc: it has been integrated in common.inc. - Fixed a bug in node.php: UnConeD forgot to update 1 node_get_object(). - I changed the look of theme_morelink() a bit: it might not look better, but at least the output is "correct". - Various small improvements. --- includes/node.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/node.inc') diff --git a/includes/node.inc b/includes/node.inc index 4bb14769d..9f4429c3f 100644 --- a/includes/node.inc +++ b/includes/node.inc @@ -4,7 +4,7 @@ $status = array(dumped => 0, expired => 1, queued => 2, posted => 3); $rstatus = array(0 => dumped, 1 => expired, 2 => queued, 3 => posted); function _node_get($conditions) { - foreach ($conditions as $key=>$value) $cond[] = "n.$key = '$value'"; + foreach ($conditions as $key=>$value) $cond[] = "n.". check_query($key) ." = '". check_query($value) ."'"; $where = implode(" AND ", $cond); if ($conditions[type]) { -- cgit v1.2.3