From 7696a32a4970c107762fb3c60af2c5d5b185e605 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 26 Apr 2011 17:58:58 +0200 Subject: Quickfix new Client --- library/Pbs/Session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library') 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']); -- cgit v1.2.3-55-g7522