Skip to content

Commit a01c911

Browse files
committed
some user component bug fix
1 parent 342eedf commit a01c911

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Darryldecode/Backend/Components/User/Commands/QueryUsersCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function handle(User $user, Group $group, Dispatcher $dispatcher)
126126
->ofLastName($this->lastName)
127127
->ofEmail($this->email);
128128

129-
if( is_int($this->groupId) )
129+
if( ($this->groupId) && ($this->groupId!='') )
130130
{
131131
$q->whereHas('groups', function($q)
132132
{

0 commit comments

Comments
 (0)