Skip to content

Commit

Permalink
apply code convention
Browse files Browse the repository at this point in the history
  • Loading branch information
perrywky committed Feb 1, 2013
1 parent 5ac5e78 commit af71d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Model/Datasource/DboSource.php
Expand Up @@ -1691,7 +1691,7 @@ public function buildJoinStatement($join) {
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);
Expand Down

0 comments on commit af71d55

Please sign in to comment.