We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66c58e0 commit 8be55bdCopy full SHA for 8be55bd
src/Mouf/Database/MagicQuery.php
@@ -226,7 +226,7 @@ private function magicJoinOnOneQuery(MagicJoinSelect $magicJoinSelect) {
226
*/
227
private function getSchemaAnalyzer() {
228
if ($this->schemaAnalyzer === null) {
229
- if (!$this->schemaAnalyzer) {
+ if (!$this->connection) {
230
throw new MagicQueryMissingConnectionException('In order to use MagicJoin, you need to configure a DBAL connection.');
231
}
232
0 commit comments