projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Activating 'hidden' visibility flag.
[platal.git]
/
modules
/
profile.php
diff --git
a/modules/profile.php
b/modules/profile.php
index
467a99c
..
b7e70cf
100644
(file)
--- a/
modules/profile.php
+++ b/
modules/profile.php
@@
-135,10
+135,10
@@
class ProfileModule extends PLModule
if (!$user->hasProfile()) {
return PL_NOT_FOUND;
} else {
if (!$user->hasProfile()) {
return PL_NOT_FOUND;
} else {
- $profile = $user->profile();
+ $profile = $user->profile(
false,0,Visibility::get(Visibility::VIEW_ADMIN)
);
}
} else {
}
} else {
- $profile = Profile::get($hrpid);
+ $profile = Profile::get($hrpid
,0,Visibility::get(Visibility::VIEW_ADMIN)
);
}
if (!$profile) {
}
if (!$profile) {