mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 06:54:05 +00:00
fix callback result comparison
This commit is contained in:
parent
f5e0959136
commit
fe3b8525b2
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ class Tenancy
|
||||||
|
|
||||||
$this->initialize($tenant);
|
$this->initialize($tenant);
|
||||||
|
|
||||||
if (! $callback($tenant)) {
|
if ($callback($tenant) === false) {
|
||||||
break;
|
break;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue