apply code convention

This commit is contained in:
Perry 2013-02-01 09:30:45 +08:00
parent 5ac5e784de
commit af71d5528f

View file

@ -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);