projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed handling of OLD_PASSWORDS to simplify login code.
[timetracker.git]
/
client_add.php
diff --git
a/client_add.php
b/client_add.php
index
3afcbc0
..
dc99e6c
100644
(file)
--- a/
client_add.php
+++ b/
client_add.php
@@
-71,7
+71,8
@@
if ($request->isPost()) {
if ($err->no()) {
if (!ttClientHelper::getClientByName($cl_name)) {
if (ttClientHelper::insert(array(
if ($err->no()) {
if (!ttClientHelper::getClientByName($cl_name)) {
if (ttClientHelper::insert(array(
- 'group_id' => $user->group_id,
+ 'group_id' => $user->getActiveGroup(),
+ 'org_id' => $user->org_id,
'name' => $cl_name,
'address' => $cl_address,
'tax' => $cl_tax,
'name' => $cl_name,
'address' => $cl_address,
'tax' => $cl_tax,