diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/profiles.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profiles.php b/mod/profiles.php index 81678a151..b8151eadd 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -267,7 +267,7 @@ function profiles_content(&$a) { } - if(($a->argc > 1 && intval($a->argv[1])) { + if(($a->argc > 1) && (intval($a->argv[1]))) { $r = q("SELECT * FROM `profile` WHERE `id` = %d AND `uid` = %d LIMIT 1", intval($a->argv[1]), intval($_SESSION['uid']) |