aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/database.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/database.php')
-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} ";
}