summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorSimon2011-04-26 17:58:58 +0200
committerSimon2011-04-26 17:58:58 +0200
commit7696a32a4970c107762fb3c60af2c5d5b185e605 (patch)
treead306e874ff17d163ecc42594b7484e9a2c72e1a /library
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-7696a32a4970c107762fb3c60af2c5d5b185e605.tar.gz
pbs2-7696a32a4970c107762fb3c60af2c5d5b185e605.tar.xz
pbs2-7696a32a4970c107762fb3c60af2c5d5b185e605.zip
Quickfix new Client
Diffstat (limited to 'library')
-rw-r--r--library/Pbs/Session.php2
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']);