diff options
Diffstat (limited to 'library')
-rw-r--r-- | library/Pbs/Session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/Pbs/Session.php b/library/Pbs/Session.php index b2b3ed5..7686077 100644 --- a/library/Pbs/Session.php +++ b/library/Pbs/Session.php @@ -28,7 +28,7 @@ class Pbs_Session{ } public function createClient(Application_Model_Client $client){ $clientmapper = new Application_Model_ClientMapper(); - $result = $clientmapper->findBy(array('macadress' => $client->getMacadress()),true); + $result = $clientmapper->findBy(array('macadress' => $client->getMacadress(),'groupID'=>$client->getGroupID()),true); if(count($result)>0){ $client->setOptions($result[0]); $client->setID($result[0]['clientID']); |