projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add UTs for UFC_Nationality
[platal.git]
/
plugins
/
function.profile.php
diff --git
a/plugins/function.profile.php
b/plugins/function.profile.php
index
53f2a5d
..
340e9ad
100644
(file)
--- a/
plugins/function.profile.php
+++ b/
plugins/function.profile.php
@@
-27,7
+27,7
@@
function smarty_function_profile($params, &$smarty)
$with_link = $params->b('link', true);
$with_groupperms = $params->b('groupperms', true);
$user = $params->v('user');
- if (ctype_digit($user)) {
+ if (
is_int($user) ||
ctype_digit($user)) {
$user = User::getWithUID($user);
}