diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-05-28 11:13:29 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-05-28 11:13:29 +0000 |
commit | 9158eb1eeab82d1d1c7cde31de405a2a4aebbcf9 (patch) | |
tree | decf09f1313127abf78265891f6180f0d30f915b | |
parent | c90d20249eac10672caa8801596a27520221a59e (diff) | |
download | elgg-9158eb1eeab82d1d1c7cde31de405a2a4aebbcf9.tar.gz elgg-9158eb1eeab82d1d1c7cde31de405a2a4aebbcf9.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
* Fixed spacing issue
git-svn-id: https://code.elgg.org/elgg/trunk@736 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/database.php | 4 |
1 files changed, 2 insertions, 2 deletions
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} "; } |