diff --git a/lib/Cake/Model/Datasource/DboSource.php b/lib/Cake/Model/Datasource/DboSource.php index c8d360842..633713401 100644 --- a/lib/Cake/Model/Datasource/DboSource.php +++ b/lib/Cake/Model/Datasource/DboSource.php @@ -1691,7 +1691,7 @@ class DboSource extends DataSource { if (!empty($data['conditions'])) { $data['conditions'] = trim($this->conditions($data['conditions'], true, false)); } - if (!empty($data['table']) && (!is_string($data['table']) || strpos($data['table'], '(') !== 0)){ + if (!empty($data['table']) && (!is_string($data['table']) || strpos($data['table'], '(') !== 0)) { $data['table'] = $this->fullTableName($data['table']); } return $this->renderJoinStatement($data);