From 9158eb1eeab82d1d1c7cde31de405a2a4aebbcf9 Mon Sep 17 00:00:00 2001 From: icewing Date: Wed, 28 May 2008 11:13:29 +0000 Subject: Marcus Povey * Fixed spacing issue git-svn-id: https://code.elgg.org/elgg/trunk@736 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/database.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/lib/database.php') diff --git a/engine/lib/database.php b/engine/lib/database.php index 0358d9744..7ddf4591b 100644 --- a/engine/lib/database.php +++ b/engine/lib/database.php @@ -490,7 +490,7 @@ // Where if (!empty($this->where)) { - $sql .= "where 1 "; + $sql .= " where 1 "; foreach ($this->where as $where) $sql .= "$where "; @@ -502,7 +502,7 @@ // Catch missing Where if (empty($this->where)) - $sql .= "where 1 "; + $sql .= " where 1 "; $sql .= "{$this->access_control} "; } -- cgit v1.2.3