more lint

This commit is contained in:
Mike Macgirvin 2010-10-31 16:40:09 -07:00
parent f0b6400584
commit b919a1e35a

View File

@ -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'])