diff options
| author | michael pereira | 2011-04-26 17:54:33 +0200 |
|---|---|---|
| committer | michael pereira | 2011-04-26 17:54:33 +0200 |
| commit | 89b9d612232e2d3be15ce5a708bfc9dbbaab318f (patch) | |
| tree | 703754b757ccfca4a8e0385987900caf4cff99af /library/Pbs/Session.php | |
| parent | config fix (diff) | |
| parent | Quickfix new Client (diff) | |
| download | pbs2-89b9d612232e2d3be15ce5a708bfc9dbbaab318f.tar.gz pbs2-89b9d612232e2d3be15ce5a708bfc9dbbaab318f.tar.xz pbs2-89b9d612232e2d3be15ce5a708bfc9dbbaab318f.zip | |
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'library/Pbs/Session.php')
| -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']); |
