|
|
@@ -952,14 +952,14 @@ class DboSource extends DataSource {
|
|
|
|
|
|
if ($quote) {
|
|
|
if ($schema && !empty($schemaName)) {
|
|
|
- if (false == strstr($table, '.')) {
|
|
|
+ if (strstr($table, '.') === false) {
|
|
|
return $this->name($schemaName) . '.' . $this->name($table);
|
|
|
}
|
|
|
}
|
|
|
return $this->name($table);
|
|
|
}
|
|
|
if ($schema && !empty($schemaName)) {
|
|
|
- if (false == strstr($table, '.')) {
|
|
|
+ if (strstr($table, '.') === false) {
|
|
|
return $schemaName . '.' . $table;
|
|
|
}
|
|
|
}
|
|
|
@@ -1065,7 +1065,7 @@ class DboSource extends DataSource {
|
|
|
if ($bypass) {
|
|
|
$assocData['fields'] = false;
|
|
|
}
|
|
|
- if (true === $this->generateAssociationQuery($model, $linkModel, $type, $assoc, $assocData, $queryData, $external, $null)) {
|
|
|
+ if ($this->generateAssociationQuery($model, $linkModel, $type, $assoc, $assocData, $queryData, $external, $null) === true) {
|
|
|
$linkedModels[$type . '/' . $assoc] = true;
|
|
|
}
|
|
|
}
|