|
|
@@ -368,7 +368,7 @@ class UserStorageDB extends UserStorageBase {
|
|
|
where
|
|
|
a.`ADM_ACCOUNT`='{$usrLogin}'
|
|
|
and up.`A_STATUS` in('WAITING', 'NORMAL')
|
|
|
- and z.`TYPE` in('STANOWISKO','PODMIOT')
|
|
|
+ and z.`TYPE` in('STANOWISKO','DZIAL','PODMIOT')
|
|
|
";
|
|
|
$res = $this->_db->query($sql);
|
|
|
while ($r = $this->_db->fetch($res)) {
|
|
|
@@ -549,7 +549,7 @@ class UserStorageDB extends UserStorageBase {
|
|
|
where
|
|
|
up.`ID`='{$profileID}'
|
|
|
and up.`A_STATUS` in('WAITING', 'NORMAL')
|
|
|
- and z.`TYPE` in('STANOWISKO','PODMIOT')
|
|
|
+ and z.`TYPE` in('STANOWISKO','DZIAL','PODMIOT')
|
|
|
";
|
|
|
$res = $this->_db->query($sql);
|
|
|
if ($r = $this->_db->fetch($res)) {
|
|
|
@@ -597,7 +597,7 @@ class UserStorageDB extends UserStorageBase {
|
|
|
where
|
|
|
a.`ADM_ACCOUNT`='{$usrLogin}'
|
|
|
and up.`A_STATUS` in('WAITING', 'NORMAL')
|
|
|
- and z.`TYPE` in('STANOWISKO','PODMIOT')
|
|
|
+ and z.`TYPE` in('STANOWISKO','DZIAL','PODMIOT')
|
|
|
";
|
|
|
$res = $this->_db->query($sql);
|
|
|
while ($r = $this->_db->fetch($res)) {
|