projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Unnecesary direct access to user setting superseded by calls to user_* functions.
[fa-stable.git]
/
admin
/
create_coy.php
diff --git
a/admin/create_coy.php
b/admin/create_coy.php
index c84219b3e941bb29224c7de9efb87280c7a93075..80c747152cc75335d1c15016d9feb2ce6abce6a0 100644
(file)
--- a/
admin/create_coy.php
+++ b/
admin/create_coy.php
@@
-240,7
+240,7
@@
function display_companies()
{
global $def_coy, $db_connections;
- $coyno =
$_SESSION["wa_current_user"]->company
;
+ $coyno =
user_company()
;
echo "
<script language='javascript'>