From af71d5528f9907d3a73693d5a793338072e1f1b9 Mon Sep 17 00:00:00 2001 From: Perry Date: Fri, 1 Feb 2013 09:30:45 +0800 Subject: [PATCH] apply code convention --- lib/Cake/Model/Datasource/DboSource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);