aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-28 11:13:29 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-28 11:13:29 +0000
commit9158eb1eeab82d1d1c7cde31de405a2a4aebbcf9 (patch)
treedecf09f1313127abf78265891f6180f0d30f915b /engine
parentc90d20249eac10672caa8801596a27520221a59e (diff)
downloadelgg-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
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/database.php4
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} ";
}